Re: luasocket in C
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: luasocket in C
- From: Diego Nehab <diego@...>
- Date: Sat, 7 Jan 2006 18:28:20 -0500 (EST)
Hi,
i'm a newbie in Lua and i try to execute from a C program a lua code using
luasocket.
------------------- socket.lua ---------------------------------------
local socket = require("socket")
---------------------------------------------------------
$ export LUA_PATH="/usr/share/lua50/?.lua;?.lua"
$ lua socket.lua
I guess require will try to load your socket.lua. This is the file
it looks for to load LuaSocket. :) Can you try a different name for your
test file?
Regards,
Diego.