[nodejs] Any event for half socket close? socket.write not writing to the socket.

2012-09-27 Thread anup
There is something strange happening with socket.write(). While the socket is open, I can receive data on the socket, socket.write is apparently stops pushing data on the socket. There is no error event on the socket as well. This is happening on node version v0.6.17. Happens very intermittent

Re: [nodejs] Any event for half socket close? socket.write not writing to the socket.

2012-09-27 Thread Ben Noordhuis
On Thu, Sep 27, 2012 at 10:16 AM, anup wrote: > There is something strange happening with socket.write(). > > While the socket is open, I can receive data on the socket, socket.write is > apparently stops pushing data on the socket. There is no error event on the > socket as well. > > This is happ

Re: [nodejs] Any event for half socket close? socket.write not writing to the socket.

2012-10-19 Thread anup
Thanks Ben for the response. I know this is a bit late and I am sorry for that. The issue was somewhere else. tcpdump nailed it. It was hard to simulate and when it happened, tcpdump suggested that the packet did reach the other end of the socket. There was nothing special about the code. It was

Re: [nodejs] Any event for half socket close? socket.write not writing to the socket.

2012-10-20 Thread Ben Noordhuis
On Fri, Oct 19, 2012 at 5:40 PM, anup wrote: > Thanks Ben for the response. I know this is a bit late and I am sorry for > that. > > The issue was somewhere else. tcpdump nailed it. It was hard to simulate and > when it happened, tcpdump suggested that the packet did reach the other end > of the s