|
Hi,
I have done this as I have commented before and there was a problem where socket.lua did a require("lsocket"). This meant that if you pre loaded the C library :- lsocket which actually imports into the "socket" namespace then the lua code is never loaded.
Why can't you just place luaopen_lsocket in package.preload["lsocket"], as I suggested? []s, Diego.