[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: luasocket, udp, send/receive different max datagram size?
- From: Valerio Schiavoni <valerio.schiavoni@...>
- Date: Fri, 17 Jun 2011 14:52:16 +0200
I just noticed the following about LuaSocket's UDP support for send and receive.
If size is omitted, the maximum datagram size is used (which is currently limited by the implementation to 8192 bytes).
"The maximum datagram size for UDP is 64K minus IP layer overhead."
What is the technical reason for not being of the same size ?