Socket.io Reconectar ejemplo

io.connect('http://localhost', {
  'reconnection': true,
  'reconnectionDelay': 500,
  'reconnectionAttempts': 10
});
Ranish Patel