🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to make a TClientSocket to search a TServerSocket???

#5209
From: Mark Jacobs
Date: Fri, 01 Oct 2004 15:42
18 lines
1671 bytes
Thanks for that one Hans. However, I'd better store the value first, beofre I
zero it. So it is now :-

int ec=ErrorCode;
ErrorCode=0; ShowMessage(mjwinsockerr(ec));

-- 
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk

"Hans Galema" <dontusethis@dontusethis.nl> wrote in message
news:415d1c16$1@newsgroups.borland.com...
| First I thought "He forgets to make ErrorCode zero". But then I saw
| it at the end. Making ErrorCode zero suppresses the windowalert.
| But only if you do it right away:
|
| ErrorCode=0; ShowMessage(mjwinsockerr(ErrorCode));
Technical Details
Message-ID: <415d7ace@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,bd4b4d9b4b503463
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup>
Newsgroups: borland.public.cppbuilder.internet.socket
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>
Subject: Re: How to make a TClientSocket to search a TServerSocket???
Date: Fri, 1 Oct 2004 16:42:34 +0100
Lines: 20
Organization: DK Computing
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 81.144.157.8
Message-ID: <415d7ace@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096645326 81.144.157.8 (1 Oct 2004 08:42:06 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail