Catch socket.io server down error

Viewed 2832

How do I handle a socket.io client when the socket.io server is unavailable? Currently when the socket.io server is unavailable the client site is also unavailable. Is there a way to use try/catch to handle situations where the server is not available?

1 Answers
Related