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 all files in /Users/diego/tec/luasocket and set the following environment variables: LUA_PATH=/Users/diego/tec/luasocket/?.lua LUA_INIT=@/Users/diego/tec/luasocket/lua.lua LUA_FUNCNAME=? LUA_LIBNAME=/Users/diego/tec/luasocket/?.dylib With that, I can run any luasocket application with the command line: lua -l socket