hi,
I implemented the Echo server& client program...After establishing
the connection i will send the data from client then it will be echoed
to client again....
But.. when i am terminate the server process (by pressing CTRL+c),
the state transsions occured...that is server process in FIN_WAIT2 and
client in CLOSE_WAIT state..
After some time the netstat command only shows the transistion state
of the client as CLOSE_WAIT .. the server closed its connection... Why?
after this happened, it is possible to send the data from client to
server only one time but for next try it shows the "broken pipe" error
message... Why?
Is there any relationship between FIN_WAIT2 state and the timer?
thanks & regards
sri
|