lua-users home
lua-l archive

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

On Mon, Mar 15, 2010 at 9:57 AM, Jeff Pohlmeyer wrote:

>> require("luasocket");

> I think that should be:
> require("socket");

On Mon, Mar 15, 2010 at 10:53 AM, Lingfeng Xiong wrote:

> I try to rename luasocket.dll to socket.dll and use
> "require("socket")",it still give me this error.and also,the luaxml

That is wrong. You should not rename any files.
The dll should be named luasocket.dll but you still need
to use: require("socket") in your script.

And please learn to trim your quotes!

- Jeff