Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Apr : Re: TCPServer OnDisconnect won't trigger on lost connection

www.cryer.info
Managed Newsgroup Archive

Re: TCPServer OnDisconnect won't trigger on lost connection

Subject:Re: TCPServer OnDisconnect won't trigger on lost connection
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 23 Apr 2007 12:00:03

"Martin James" <nospam@tuthill.com> wrote in message
news:462c5103$1@newsgroups.borland.com...

> There is no way to detect unreachability except to attempt to
> communicate and see if the communication succeeds or not.

And even then, pulling out the network cable is no guarantee that such
an error will be reported right away, either.  The OS may not detect
it for hours.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive