Article View: borland.public.cppbuilder.internet.socket
Article #2005Re: help with Indy Telnet
From: Andre' Burke
Date: Tue, 05 Sep 2006 12:21
Date: Tue, 05 Sep 2006 12:21
13 lines
1735 bytes
1735 bytes
A question on the side: From looking at the IdTelnet.pas file, it would seem that if I were to call the Disconnect method from inside my main thread while the OnDataAvailable is busy within the connection's thread, that the main thread would block until the connection thread was terminated, since the Disconnect method calls Terminate for the thread and then does a waitfor on it. This should then not cause an error or a locking condition so that in theory I can call Disconnect safely at any time. Do you agree with this? Andre'
Technical Details
Message-ID:
<44fd6bbc@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44f68cef@newsgroups.borland.com> <44f6917c$1@newsgroups.borland.com> <44f69c27@newsgroups.borland.com> <adsdf2dk8k4s0tefv5r49fi67ghjs6rlmt@4ax.com> <44f7d1ac$1@newsgroups.borland.com> <44f7e8a0$1@newsgroups.borland.com> <44f7ef1a@newsgroups.borland.com> <44f86462$1@newsgroups.borland.com> <4veof257rj29kb6armgc2qgsds3q512tqh@4ax.com> <44fc7c6c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3d66693bd859a203 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Andre' Burke" <no.spam@spam.no> Newsgroups: borland.public.cppbuilder.internet.socket References: <44f68cef@newsgroups.borland.com> <44f6917c$1@newsgroups.borland.com> <44f69c27@newsgroups.borland.com> <adsdf2dk8k4s0tefv5r49fi67ghjs6rlmt@4ax.com> <44f7d1ac$1@newsgroups.borland.com> <44f7e8a0$1@newsgroups.borland.com> <44f7ef1a@newsgroups.borland.com> <44f86462$1@newsgroups.borland.com> <4veof257rj29kb6armgc2qgsds3q512tqh@4ax.com> <44fc7c6c$1@newsgroups.borland.com> Subject: Re: help with Indy Telnet Date: Tue, 5 Sep 2006 14:21:15 +0200 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 196.38.124.67 Message-ID: <44fd6bbc@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1157458876 196.38.124.67 (5 Sep 2006 05:21:16 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail