[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Socket changes
- From: Eva Schmidt <es@...>
- Date: Thu, 13 Sep 2007 13:24:45 +0200
Thanks a lot!
Ketmar Dark wrote:
hello, Eva Schmidt <email@example.com>.
On Thu, 13 Sep 2007 12:50:48 +0200
Eva Schmidt <firstname.lastname@example.org> wrote:
yes, I see. In the further version the .lua files had been
"lua_dofiled" from the luaopen_socket-function. Is there any place in
the library where this is done (maybe with another call) or do I have
to call execute the socket.lua by myself?
i think that the "core" is loaded from the socket.lua, and not vice
versa. so "core" doesn't know anything about Lua modules. the aim of a
"core" is to provide the basic OS interface, so all the other things can
be built in Lua with this interface. at least LuaSocket 2 works this
so you should load socket.lua (and maybe other things like url.lua,
ftp.lua, ltn12.lua, etc) manually.
\ / Sol-3 GmbH & Co. KG Eva Schmidt
--o-- Sol-3 Eltviller Straße 2 Phone: ++49 (0) 6123 7029 23
/ \ D-65399 Kiedrich Fax: ++49 (0) 6123 7029 29
USt-ID: DE 204978307 eMail: email@example.com
Register: WI HRA 6607
Komplementär: Sol-3 Verwaltungs GmbH
Register: WI HRB 117786
Geschäftsführer: Norbert Geus, Dirk Zoller