Article View: borland.public.cppbuilder.internet.socket
Article #5212Re: How to make a TClientSocket to search a TServerSocket???
From: Hans Galema
Date: Fri, 01 Oct 2004 18:38
Date: Fri, 01 Oct 2004 18:38
14 lines
1688 bytes
1688 bytes
Remy Lebeau (TeamB) wrote: >>Making ErrorCode zero suppresses the windowalert. >>But only if you do it right away: > > Wrong. You can set ErrorCode to 0 at any time during the event handler. It > is not checked for 0 until after the event handler exits. Hmmm. I had in mind that displaying an alert, opening a window or calling ProcessMessage() and such things would cause the original windows-alert still to display when ErrorCode was not made 0 yet. But if not .. well .. then not. Hans.
Technical Details
Message-ID:
<415da368$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<41595ce4$1@newsgroups.borland.com> <41595eed$1@newsgroups.borland.com> <41596530$1@newsgroups.borland.com> <415d16cd@newsgroups.borland.com> <415d1c16$1@newsgroups.borland.com> <415d973b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,bd4b4d9b4b503463 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 01 Oct 2004 20:38:41 +0200 From: Hans Galema <dontusethis@dontusethis.nl> User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: How to make a TClientSocket to search a TServerSocket??? References: <41595ce4$1@newsgroups.borland.com> <41595eed$1@newsgroups.borland.com> <41596530$1@newsgroups.borland.com> <415d16cd@newsgroups.borland.com> <415d1c16$1@newsgroups.borland.com> <415d973b$1@newsgroups.borland.com> In-Reply-To: <415d973b$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <415da368$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1096655720 129.125.201.248 (1 Oct 2004 11:35:20 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail