lua-users home
lua-l archive

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


Unfortunately, DB's reply has me confused. Let me see if I have this right: package.preload["socket.core"] should be a function that returns the function luaopen_socket_core when it is called?

Mike



Diego Nehab wrote:
Hi,

the result of calling the function. That is, what is in the preload
table entry should return a lua_cfunction that is
luaopen_socket_core.

My apologies... Looks like my previous post was wrong. No wonder people didn't manage to get this working.

[]s,
Diego.