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... :-)
Have tested the code on Linux and Windows XP. Both can go all the
way up to close to 64k.
That is quite a difference between Panther and Tiger. Panther acts
the same as all other platforms - but Tiger has an 8k limit. And no
apparent way to change it.
:-(
Jamie
_______________________________________________
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