Broken Pipe problem in TCP/IP communication
Dear All,
I have wrote simple TCP/IP client/server prog. Server is receiving data. After receiving some packets, it comes out by giving error "broken pipe". I was looking in detail by using ethreal utility and found that every thing was normal. Suddenly server sent "Finish" request ie. it set "Fin" flag while sending Acknowledgement of data received. After that it also received 5-6 data pkts at lower layer but it didn't passed them to upper layer. & remained sending Reset request to the client.
I am not able to understand why it suddenly sent Finish request to client suddenly, without any error in data or connection. Pls. guide me what is the reason & what will be the solution of it.
|