[gameprogrammer] Re: recommended size of data for udp packets

On 8/16/05, Bob Pendleton <bob@xxxxxxxxxxxxx> wrote:
> On Tue, 2005-08-16 at 14:43 -0400, Roger D Vargas wrote:
> > Whats the recommended size of data to send inside an UDP packet?
> 
> I have never run into that question before. Cool!
> 
> You can send any size you want up to 64KB. But, lots of large UDP
> messages can really clog up a network. OTOH, if the packet size isn't at
> least several times the header overhead (28 bytes IIRC) you are wasting
> bandwidth by sending to much header and not enough data.

Does not the UDP packet have to be smaller than the smallest MTU as well?

Chris

-- 
E-Mail: Chris Nystrom <cnystrom@xxxxxxxxx>
Business: http://www.shaklee.net/austin
Blog: http://conversazione.blogspot.com/
AIM: nystromchris


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: