cannot locate the package socket
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: cannot locate the package socket
- From: oratile leteane <leteaneoratile@...>
- Date: 2007年8月23日 14:04:23 +0100 (BST)
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.