LearnBoost/socket.io-client — Issue #375: connect_failed doesn't fire
Author: giggsey
Created: 2012-01-20 16:37:50+00:00
State: open

```javascript
path = 'myurl.giggsey.com:port';

this.socket = io.connect(path, {
'force new connection': true,
'max reconnection attempts': 5,
'connect timeout': 5000
});

this.socket.on('connect_failed', function() {
console.log('connect-failed');
});

```

However, the connect_failed doesn't seem to appear.

I've tried with the latest released socket.io-client (0.8.7) also with the latest released socket.io (0.8.6).

I've seen an approved pull request which was related to this, and I'm pretty sure it's in the version I have.