lua-users home
lua-l archive

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


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.