Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to detect TCP connection crash

5 views
Skip to first unread message

will_u_tellmemore

unread,
Dec 21, 2006, 9:45:07 AM12/21/06
to
Hi all,

I am working on a project in which i am supposed to detect a TCP
connection crashed ?? How can i do this ??
How does peer communicating using TCP protocol can detect such crashes
?? is there a time out value for this ?? if yes how much is this value
?? What happens for established TCP connection on which nothing is
happening for a long time ?? How TCP gets to know that this is alive
and not dead ?? Is there something like
heart- beat or keep - alive thing ? if yes how does it work ?? I am
more interested in value of the timeout if there are any in these
situation ??

Thanks ,
Rohit

jebus...@gmail.com

unread,
Dec 21, 2006, 1:19:00 PM12/21/06
to
I can direct you to the right location to have these questions
answered. Try http://www.rfc-editor.org and search for Transmission
Control Protocol. I can garantee that you will find your questions
answered.

Good luck to ya..

Chris Davies

unread,
Dec 22, 2006, 5:36:01 AM12/22/06
to
will_u_tellmemore <will.u.t...@gmail.com> wrote:
> I am working on a project in which i am supposed to detect a TCP
> connection crashed ?? How can i do this ??

First, you need to determine your definition of "connection crashed".


> How does peer communicating using TCP protocol can detect such crashes
> ??

It might not.


> is there a time out value for this ??

There can be, if required


> if yes how much is this value
> ??

It depends on what the application has requested, or is willing to
accept.


> What happens for established TCP connection on which nothing is
> happening for a long time ??

Nothing.


> How TCP gets to know that this is alive
> and not dead ?? Is there something like
> heart- beat or keep - alive thing ?

There can be, if you ask for it (and the underlying implementation
actually supports it)


> if yes how does it work ?? I am
> more interested in value of the timeout if there are any in these
> situation ??

You could use an Internet Search Engine and find out, or as another
poster suggested, read the set of RFCs that define how TCP/IP works.

Chris

Jeroen Geilman

unread,
Dec 22, 2006, 4:30:26 PM12/22/06
to
Chris Davies wrote:

> You could use an Internet Search Engine and find out, or as another
> poster suggested, read the set of RFCs that define how TCP/IP works.

All of which - including this - you may construe as an elaborate form of
"do your homework".

0 new messages