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 socket.write(). Other
socket related code was scattered all around so I did not know what to add
here.

However, it is solved now. There is no issue at node.

Thanks once again.

On Thu, Sep 27, 2012 at 6:37 PM, Ben Noordhuis <[email protected]> wrote:

> On Thu, Sep 27, 2012 at 10:16 AM, anup <[email protected]> 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 happening on node version v0.6.17. Happens very intermittently
> in a
> > few sockets out of around 600 connected sockets that are exchanging data.
> > Did anyone else face this too?
> >
> > I am suspecting that the socket may be half open. Is there a way to
> identify
> > this in node? Is there any event that will be fired if the socket is half
> > closed or half open?
>
> You should post some code. It's impossible to tell what's going on.
> Also, it might not hurt to test your code with v0.8.
>
> --
> 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
>

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