Re: Does any packet transfer( fin,rst ) happen after tcp detects connection timeout occured ??
Rohit <will.u.tellmemore@gmail.com> writes:
> I want to know if, for connection which TCP detects as timeout
> occured , does it try to send FIN packets/RST packets after detecting
> so. Or it simply discards everything about that conn and conn no more
> exists from its point of view.If it sends FIN packets or so, does it
> again wait for complete timeout to occur before giving up even though
> it knows the connection timeout has already occured for this
> connection ??
>
Any reasonable TCP stack sends RST segment after final
re-transmission timeout. Socket is closed after that. There is
no point to expect that FIN handshake would work after
multiple unsuccesful retransmissions of previous segment.
-ilkka
|