How do I close a server with socket.io (stop it from listening to a port) -
How can I turn off a listener which was opened with something like socket.io Was:
io = require ('socket.io'). Listen (3333); and then in some time:
io.closeListener ()
On the server side, you can:
socket.disconnect ();
Comments
Post a Comment