🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TIdTelnet Disconnect Event Question

#855
From: Omar Zelaya
Date: Fri, 03 Aug 2007 21:28
25 lines
1696 bytes
I have found the answer for #1, by reading the help... :) ,
now how can i catch a server disconnect for a telnet client?

Thanks in advance

Omar Zelaya

"Omar Zelaya" <ozelaya2010@hotmail.com> wrote in message 
news:46b39cfa@newsgroups.borland.com...
> Hi,
> I'm using CB2007 and Indy 10, I was doing some test with TIdTelnet i have 
> noticed two things:
>
> 1.When the server disconnects the the session, the Disconnect event is not 
> called.
> 2. When the form that contains the TIdTelnet components is closed, the 
> disconnect event is called, even if i just open and close the form(dont 
> connect, etc).
>
> Are this two behaviours normal?
>
> Thanks in Advance
>
> Omar Zelaya
> 
Technical Details
Message-ID: <46b39e2f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46b39cfa@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3c1442027b40ee90
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Omar Zelaya" <ozelaya2010@hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <46b39cfa@newsgroups.borland.com>
Subject: Re: TIdTelnet Disconnect Event Question
Date: Fri, 3 Aug 2007 15:28:54 -0600
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
NNTP-Posting-Host: 200.30.163.216
Message-ID: <46b39e2f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1186176559 200.30.163.216 (3 Aug 2007 14:29:19 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail