Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java on Tiger and UDP



Jamie Curmi wrote:

On Panther, you could send UDP packets > 16356 bytes from Java, and receive them without issue.
On Tiger, any UDP packets > 16356 bytes are dropped. You just never receive them.

I thought the max UDP packet size was limited to something like 8K (system buffer size)... A google search found a reference to a page in the MS Windows 2003 doc that claims that a UDP packet *must* be less than 16384, and another discussion that suggests that whatever the max size is has to include header info, so your actual payload will be about 20 bytes less... Elsewhere someone says that the max UDP packet size might have to be smaller than the smallest MTU on any devices along the way, or the packet might not make it through...


Bottom line, it seems to have to be small... :-)

Moises


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Java on Tiger and UDP (From: Jamie Curmi <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.