Hi,
My apologies... Looks like my previous post was wrong. No wonder people didn't manage to get this working.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.
[]s, Diego.