hi everyone,
sorry if it offend, I want to give an introduction to levent’s socket module.
there is a socket module in levent, it’s a simple encapsulation of c api:you can control socket by setsockopt freely.
and based on levent, there is a full async and pure lua dns client:
I think levent is a good start point of lua socket programming.
best regards, xjdrew
Thank you, good work :-)
On Wed, Aug 27, 2014 at 2:05 PM, Gunnar Zötl <gz@tset.de> wrote:
Hi,
this message is to announce the availability of version 1.3 of 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 well as unix domain sockets, tcp and udp, and also IPv4 broadcasts and IPv6 multicasts. Also, almost completely nonblocking.
Changes since 1.1:
- the main change is the addition of support for unix domain sockets. - some minor tweaks
You can get lsocket from http://www.tset.de/lsocket
or via luarocks install lsocket.
Rgds,
Gunnar
|