LuaSocket
Network support for the Lua language

home · download · installation · introduction · reference


Reference

DNS (in socket)
toip, tohostname, gethostname.
FTP
get, put.
HTTP
request.
LTN12
filter: chain, cycle.
pump: all, step.
sink: chain, error, file, null, simplify, table.
source: cat, chain, empty, error, file, simplify, string.
MIME
high-level: normalize, decode, encode, stuff, wrap.
low-level: b64, dot, eol, qp, wrp, qpwrp. unb64, unqp,
SMTP
message, send.
Socket
_DEBUG, dns, gettime, newtry, protect, select, sink, skip, sleep, source, tcp, try, udp, _VERSION.
TCP (in socket)
accept, bind, close, connect, getpeername, getsockname, getstats, receive, send, setoption, setstats, settimeout, shutdown.
UDP (in socket)
close, getpeername, getsockname, receive, receivefrom, send, sendto, setpeername, setsockname, setoption, settimeout.
URL
absolute, build, build_path, escape, parse, parse_path, unescape.