UDP practical limits

"Colin Fahey" <[email protected]>
Newsgroups gmane.games.devel.general
Message-ID <1a5c01c420e3$ac4e63a0$0301a8c0@pc350>
2004 April 12th
Monday

(1) What size limit on UDP packets is imposed by the
    UDP specification?

(2) What size limit on UDP packets is imposed by the 
    operating system (Windows, Linux, ...), and how
    can I query the OS for these limits?

(3) What is the practical limit of UDP packets going across the
    wild Internet, through dozens of routers with various 
    policies?

  (I know UDP is "unreliable", but I'd like to push UDP
  packet size as high as possible without significantly
  increasing the risk of UDP packets being quietly
  dropped along the route to their destinations.)

My ignorant guesses would be the following:

(1) Less than limit on payload part of single Ethernet
    frame: (1526 Bytes - 26 Bytes) = 1500 Bytes (roughly)
(2) Same as (1)
(3) Same as (1)?  Or perhaps much less (realistically speaking)?


--- Colin

[email protected]






-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=557
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.