🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4833

Re: Detecting a client disconnect

#4833
From: Remy Lebeau (TeamB)
Date: Tue, 23 Nov 2004 20:59
14 lines
1469 bytes
"Paul Machiaverna" <paul.machiaverna@i-stat.com> wrote in message
news:41a3a222$1@newsgroups.borland.com...

> I'm using INDY 9 components for a TCP server application.
> Is there a way to detect when a client disconnects?

TIdTCPServer already handles that for you.  If it is not working, then
chances are your own code is preventing TIdTCPServer from doing its job
properly.  Please show your actual code.  Also, which specific version of
Indy 9 are you using, and which OS?


Gambit
Technical Details
Message-ID: <41a3a429@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41a3a222$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2bbc0c2eefeb0788
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <41a3a222$1@newsgroups.borland.com>
Subject: Re: Detecting a client disconnect
Date: Tue, 23 Nov 2004 12:59:18 -0800
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <41a3a429@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1101243433 68.69.17.41 (23 Nov 2004 12:57:13 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer01.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail