lua-users home
lua-l archive

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


Title: Message
Hello Diego,
 
First let me say THANKS for your luasocket implementations over the years. They've been very useful to me.
 
Recently I began using luasocket-2.0-alpha to send/receive udp packets. I noticed in the documentation and code that you've set the max send/receive size to 576, but there's no real explanation as why.
 
Since I need to send/receive udp data ~1500 bytes, I just modified the UDP_DATAGRAMSIZE in udp.h to 1500 and everything seems to be okay.
 
Can you shed some illumination on why 576 was chosen as the buffer size and what I might break by changing it?
 
Thanks again!
 
-joe


- - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - -
This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.