LuaSocket
Network support for the Lua language

home · download · introduction · reference


Reference

DNS (in socket)
toip, tohostname, gethostname.
FTP
get, put
HTTP
get, post, 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, wrap.
low-level: b64, unb64, eol, qp, unqp, wrp, qpwrp.
SMTP
message, send.
Socket
DEBUG, dns, protect, select, sink, source, sleep, time, tcp, try, udp, VERSION.
TCP (in socket)
accept, bind, close, connect, getpeername, getsockname, receive, send, setoption, 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.