Networking Forums

Networking Forums > Computer Networking > Linux Networking > Does any packet transfer( fin,rst ) happen after tcp detects connection timeout occured ??

Reply
Thread Tools Display Modes

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

 
 
Rohit
Guest
Posts: n/a

 
      09-11-2007, 06:44 AM
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

 
Reply With Quote
 
 
 
 
Sentine|
Guest
Posts: n/a

 
      09-11-2007, 07:37 PM
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...@gmail.com> 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



 
Reply With Quote
 
Rohit
Guest
Posts: n/a

 
      09-12-2007, 01:52 PM
On Sep 12, 12:37 am, Sentine| <googlea...@orangethink.com> wrote:
> Is this a question on a test? I've seen it before many times.


No this is somewhat i need to complete my work. Give me the links to
previous port similar to this question.

> 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...@gmail.com> 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


I am interested in knowing default linux TCP implementation.
What does it do in these cases ??

--Rohit

 
Reply With Quote
 
Sentine|
Guest
Posts: n/a

 
      09-13-2007, 02:25 AM
http://groups.google.com/group/comp....87625a742fa31e

This one is better:
http://groups.google.com/group/comp....ba3fdd354cc38e

Someones TCP project:
http://groups.google.com/group/comp....5845f3d473740c

Searched this group with:
tcp +connection timeout

Cheers,

S

On Sep 12, 9:52 am, Rohit <will.u.tellmem...@gmail.com> wrote:
> On Sep 12, 12:37 am, Sentine| <googlea...@orangethink.com> wrote:
>
> > Is this a question on a test? I've seen it before many times.

>
> No this is somewhat i need to complete my work. Give me the links to
> previous port similar to this question.
>
>
>
> > 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...@gmail.com> 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

>
> I am interested in knowing default linux TCP implementation.
> What does it do in these cases ??
>
> --Rohit



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to shorten timeout for connection to a non-existing IP Yong Huang Windows Networking 1 02-22-2008 04:34 PM
Internet connection timeout Erwin Wireless Networks 3 06-01-2005 05:29 PM
logging in to domain - connection only seems to happen sometime *after* login Greg Lorriman Wireless Internet 2 05-29-2004 03:46 AM
UNC Connection Timeout John Windows Networking 1 04-13-2004 03:41 PM
why might this happen: good signal, but no connection Mike Levin Wireless Internet 0 07-07-2003 03:35 AM



1 2 3 4 5 6 7 8 9 10 11