lua-users home
lua-l archive

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


How do I load the socket module in a lanes thread. I've tried preloading it, like
"""
local socket = lanes.require("socket")
lanes.register("socket", socket)
"""
or specifying it with the gen function, like
"""
task = lanes.gen("socket,math,os", function() ... end)
"""
but none of this works so far. Help appreciated.

Sent with Proton Mail secure email.