On Apr 20, 6:43 pm, steven loe <[email protected]> wrote:
> However, if the network were to have a problem (for instance someone
> unplugs and replugs an ethernet cable on the client computer). The socket
> connection is broken, but the server does not get an 'end' 'close' or other
> event that I can see.

What about listening for the 'error' event and/or checking if the
'writable' property of the socket is set to false?

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to