LuaSocket
Network support for the Lua language

home · download · installation · introduction · reference


Reference

DNS (in socket)
gethostname, tohostname, toip.
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: decode, encode, normalize, stuff, wrap.
low-level: b64, dot, eol, qp, qpwrp, unb64, unqp, wrp.
SMTP
message, send.
Socket
bind, connect, _DEBUG, dns, gettime, newtry, protect, select, sink, skip, sleep, source, tcp, try, udp, _VERSION.
TCP (in socket)
accept, bind, close, connect, getpeername, getsockname, getstats, listen, 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.