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 and then in some time: On the server side, you can: socket.io Was:
io = require ('socket.io'). Listen (3333);
io.closeListener ()
socket.disconnect ();
Comments
Post a Comment