Networking Forums

Networking Forums > Computer Networking > Linux Networking > how to detect TCP connection crash

Reply
Thread Tools Display Modes

how to detect TCP connection crash

 
 
will_u_tellmemore
Guest
Posts: n/a

 
      12-21-2006, 01:45 PM
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

 
Reply With Quote
 
 
 
 
jebuskrust@gmail.com
Guest
Posts: n/a

 
      12-21-2006, 05:19 PM
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..

will_u_tellmemore wrote:
> 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


 
Reply With Quote
 
Chris Davies
Guest
Posts: n/a

 
      12-22-2006, 09:36 AM
will_u_tellmemore <(E-Mail Removed)> 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
 
Reply With Quote
 
Jeroen Geilman
Guest
Posts: n/a

 
      12-22-2006, 08:30 PM
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".
 
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
Explorer can't detect wireless connection Paul D Wireless Networks 3 10-10-2006 07:20 PM
Win ME Notebook cannot detect 'Always on' Internet Connection Xero Windows Networking 4 01-25-2005 11:27 PM
detect type of dial-in connection A.D. Vijverberg Linux Networking 2 01-14-2005 07:49 AM
MN 700 won't detect internet connection Tglennt Broadband Hardware 1 03-03-2004 05:40 PM
computer doesn't detect connection Joe Edwards Windows Networking 7 12-29-2003 06:20 PM



1 2 3 4 5 6 7 8 9 10 11