Article View: borland.public.cppbuilder.internet.socket
Article #5410Re: Close down connections from the server side. Indy.
From: Remy Lebeau (TeamB)
Date: Mon, 06 Sep 2004 19:47
Date: Mon, 06 Sep 2004 19:47
19 lines
1600 bytes
1600 bytes
"Ulrik Nilsson" <di2niul@chl.chalmers.se> wrote in message news:413cb130$1@newsgroups.borland.com... > void __fastcall TForm1::FormCreate(TObject *Sender) Do not use the OnCreate event in C++. It is a Delphi remnant that does not work properly in C++ as it can be triggered before the constructor, which is illegal in C++. Use the actual constructor instead. > The problem is that my program stops at one of the above > lines. It doesn't matter which I use when I click the "Close" > button. And, of course, no OnDisconnect is fired in the client. Please show all of your OnExecute code. You are probably blocking the peer thread from shutting down properly. Gambit
Technical Details
Message-ID:
<413cbe74@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<413cb130$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,94b92865a961b40 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: <413cb130$1@newsgroups.borland.com> Subject: Re: Close down connections from the server side. Indy. Date: Mon, 6 Sep 2004 12:47:36 -0700 Lines: 21 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: <413cbe74@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1094499956 68.69.17.41 (6 Sep 2004 12:45:56 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail