LuaSocket
Network support for the Lua language

home · download · introduction · reference


Reference

Callbacks (socket.callback)
send: chain, file, string.
receive: chain, file, concat.
DNS services (socket.dns)
toip, tohostname, gethostname.
FTP (socket.ftp)
get, get_cb, put, put_cb.
Globals (socket)
bind, callback, concat, connect, debug, dns, ftp, http, mime, select, sleep, smtp, time, tcp. udp, url, version.
HTTP (socket.http)
get, post, request, request_cb.
MIME (socket.mime)
filters: canonic, chain, decode, encode, wrap.
low-level: b64, unb64, eol, qp, unqp, wrp, qpwrp.
SMTP (socket.smtp)
mail
TCP (socket.tcp)
accept, bind, close, connect, getpeername, getsockname, receive, send, setoption, settimeout, shutdown.
UDP (socket.udp)
close, getpeername, getsockname, receive, receivefrom, send, sendto, setpeername, setsockname, setoption, settimeout, shutdown.
URL (socket.url)
absolute, build, build_path, quote, parse, parse_path, unquote.