问题
Possible Duplicate:
TCP client-server SIGPIPE
I would like know what does this error mean?
回答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
来源:https://stackoverflow.com/questions/13643526/what-does-means-this-error-broken-pipe