Monday 14 March 2016

Using Socket.io

I am currently using socket.io and encountered a problem that I am not sure how to go about. What is happening is that when I shutdown the server and then turning it back on, the socket.on("connect", function(){..}); on the client side is not firing except for the first time the page is loaded. I am aware that the socket keeps trying to reconnect automatically but upon restarting the server but I cannot understand why this event is not being fired.Your help is kindly appreciated.

Submitted March 14, 2016 at 07:49PM by Hanxarin

No comments:

Post a Comment