lua-users home
lua-l archive

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

> Give a go at git HEAD and tell me how it goes.

I think it is close.

I tried it out and got an error:

[string "--LANES.LUA..."]:499: function package.preload.socket.core not found in
destination transfer database.

To setup lua sockets, I have some code like this:

lua_getfield(lua, LUA_GLOBALSINDEX, "package");
lua_getfield(lua, -1, "preload");
lua_pushcfunction(lua, luaopen_socket_core);
lua_setfield(lua, -2, "socket.core");

I'm expecting lanes to look for package.preload["socket.core"] not

Any ideas?

- Greg