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

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -