Hi! I’m building a websocket module but I need to take use of the Luasockets bind method. But it seems to return a nil value. The Socket.connect returns the tcp object. Any ideas what I’m doing wrong?
[lua]local socket = require(‘socket’)
server = socket.bind(‘localhost’, 8000)[/lua] [import]uid: 106083 topic_id: 18515 reply_id: 318515[/import]