lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I am trying to create a lua socket. when i run the program i find the error: "Cannot find the package socket"
Error is at this line:
local socket = require("socket")
 
paths are as below and are placed on top of the line occur:
 
LUA_INIT = "@C:\program Files\OPPR\Scripts\Console\compat-5.1.lua"
LUA_CPATH = "C:\program Files\OPPR\Intelligence\?.dll"
LUA_PATH = "C:\program Files\OPPR\\Scripts\Console\socket\?.lua"
 
socket contains the following: core.dll, ftp.lua, http.lua, smtp.lua, tp.lua and url.lua.
 
Am i doing anything wrong?


For ideas on reducing your carbon footprint visit Yahoo! For Good this month.