lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

I just noticed the following about LuaSocket's UDP support for send and receive.

In receive ( :

If size is omitted, the maximum datagram size is used (which is currently limited by the implementation to 8192 bytes).

In send ( :

 "The maximum datagram size for UDP is 64K minus IP layer overhead."

What is the technical reason for  not being of the same size ?