Click to See Complete Forum and Search --> : So_max_msg_size


Whitebread
January 5th, 2005, 08:32 AM
Where does the max size for a UDP packet come from? Is it a winsock standard? Can I assume that all clients will have thet same max UDP message size?

Thanks to all you gurus out there!

Mathew Joy
January 5th, 2005, 01:42 PM
The SO_MAX_MSG_SIZE provides you the maximum size for the outgoing datagram. This size is set by the service provider(in most cases the base service provider, the TCP/IP). No, it is not safe to assume that all clients will have the same max message size; though will not be beyond a reasonable limit.