lua-users home
lua-l archive

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

Hello Gunnar,
a couple of questions about lsocket:

- how does it differ from luasocket ?
- how does it perform against it, in terms of memory usage for example  ?
- is it compatible with luasocket (ie. is it a drop-in replacement) ?
- why one project should be ported to lsocket ? do you see a long-term
advantage ?

Thanks for your time.

On Tue, Apr 2, 2013 at 9:03 AM, "Gunnar Zötl" <> wrote:
> Hi,
> this message is to announce the availability of version 1.0.1, lsocket, another
> take of a socket programming library for lua.
> It is not intended to be a complete socket api, but easy to use and good enough
> for most tasks. Both IPv4 and IPv6 are supported, as are tcp and udp, and also
> IPv4 broadcasts and IPv6 multicasts.
> Changes since 1.0:
> - enhance check of whether a nslookup is needed, should now cover all cases
> - modified select() to ignore closed sockets, also calling select() without open
> sockets and without timeout is now an error (instead of blocking forever).
> - added constant _VERSION, which contains the full version number for lsocket.
> - fixed an issue that would keep the Mac's from compiling this
> - some cleanup in the 5.1/5.2 compatibility department as suggested by lhf
> You can get lsocket from
> or via luarocks install lsocket.
> Rgds,
> Gunnar