Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Re: Detect server disconnection from the TIdCMDTCPClient

www.cryer.info
Managed Newsgroup Archive

Re: Detect server disconnection from the TIdCMDTCPClient

Subject:Re: Detect server disconnection from the TIdCMDTCPClient
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Fri, 22 Feb 2008 11:05:36

"Moore" <moore@hotmail.com> wrote in message
news:47be7126$1@newsgroups.borland.com...

> So how do applications detect it?

When using TIdCmdTCPClient, you can't.  Not without potentially interferring
with the internal reading thread, anyway.

> i suppose many apps have the need to do..

Most applications don't use TIdCmdTCPClient, as most protocols do not use
server-issued commands.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive