nope .. the close event is fired with has_error flag as false ....
I also tried using socket with allowhalfopen = false .. but no luck !

On Sunday, April 8, 2012 9:18:09 PM UTC+5:30, mscdex wrote:
>
> On Apr 8, 6:33 am, Chirag A <[email protected]> wrote: 
> > Using the net library in nodejs I'm able to connect as a client to a tcp 
> > server which is hosted on a RS-232 to ethernet embedded hardware. 
> > 
> > Problem is, when I restart my hardware ( i.e. the tcp server ) the 
> client 
> > is unaware of the same & the client takes a while to emit the close 
> event. 
>
> Is the `error` or `end` event emitted before the `close` event?

-- 
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