Luasocket is the most comprehensive networking support library for the Lua language. http://luaforge.net/projects/luasocket/