>> So the way i do it in the event, is ok ? i just have to put 65535 in
>> the count size if i set the bufsize to 65535 ?

Probably better to use 65536 (0..65535) = 64K.

>> 65535 is it the maximum for upd datagram ? I think yes but just to be
>> sure.

I don't know. Probably it is 65536. To be verifyed on MSDN.

> Winsock fragmentation will probably prevent receiving such large
> packets in a single Receive-call, data will probably be fragmented
> into MTU fragments (AFAIR?).

Winsock will reassemble the datagram and deliver it in one chunk. Probably 
winsock buffer need to be large enough to contain a single datagram. IMO 
that is how UDP differ from TCP: datagram boundaries are respected.

--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to