This directory contains code that is more useful than the examples. This code *is* supported. lua.lua and luasocket.lua These are modules to suport dynamic loading of LuaSocket by the stand alone Lua Interpreter with the use of the "require" function. For my Mac OS X system, I place lua.lua in /usr/local/lua, luasocket.lua and the libluasocket.dylib in /usr/local/lua/luasocket and set the following environment variables: LUA_PATH=/usr/local/lua/?/?.lua LUA_INIT=@/usr/local/lua/lua.lua LUA_FUNCNAME=_? LUA_LIBNAME=/usr/local/lua/?/lib?.dylib With that, I can run any luasocket application with the command line: lua -l luasocket