Luasocket provides a TCP/UDP socket library for Lua 5.0 . Also provided are HTTP and SMTP implementations, a simple FTP implementation and some URL parsing functions. . Luasocket supports blocking and non-blocking sockets and also provides a select() interface to the language.