Re: Does any packet transfer( fin,rst ) happen after tcp detects connection timeout occured ??



Is this a question on a test? I've seen it before many times.
TCP, as you know, can be more reliable unlike UDP.

"it try to send FIN packets/RST packets after detecting " -> Yes

"simply discards everything about that conn and conn no more
exists from its point of view" -> UDP

"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" -> Yes and No. It depends on how you implement TCP. It
could re-establish the connection, and then continue on, or continue
trying to send packets regardless of timeout (even though it knows a
timeout has occurred)


On Sep 11, 2:44 am, Rohit <will.u.tellmem...@xxxxxxxxx> wrote:
Hi All,
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 ??

--Rohit


.



Relevant Pages