Skip to content Skip to sidebar Skip to footer

What Does Means This Error "broken Pipe"?

Possible Duplicate: TCP client-server SIGPIPE I would like know what does this error mean?

Solution 1:

You are using sockets and Http protocol.

It simply means your TCP connection has been closed by the other end or broken due to some other reason. By broken it means a 3 way handshake is required again before starting data transfer. As mentioned in the comments, being on listening end i.e. server, you normally cannot initiate the connection. So should simply close this socket and proceed ahead.

However, if you were a client, you should probably call api similar to connect again and proceed once it is successful.

Broken pipe on SO

Post a Comment for "What Does Means This Error "broken Pipe"?"