Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

listen for the socket 'close' event rather than 'end'. 'end' is triggere #13

Merged

Conversation

lloyd
Copy link
Contributor

@lloyd lloyd commented May 12, 2011

listen for the socket 'close' event rather than 'end'. 'end' is triggered when a packet is recieved for the server, so only is emitted in a subset of the possible cases of network interruption. If the network connection goes down abruptly, for instance, you'll never detect interruption in the client.

…ered when a packet is recieved for the server, so only is emitted in a subset of the possible cases of network interruption. If the network connection goes down abruptly, for instance, you'll never detect interruption in the client.
martynsmith added a commit that referenced this pull request May 12, 2011
listen for the socket 'close' event rather than 'end'.  'end' is triggere
@martynsmith martynsmith merged commit f790ccb into martynsmith:master May 12, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants