Article View: borland.public.cppbuilder.internet.socket
Article #3798Re: TClientSocket
From: Roee Bachar
Date: Thu, 28 Apr 2005 09:34
Date: Thu, 28 Apr 2005 09:34
29 lines
1935 bytes
1935 bytes
Thanks for the tip, it solved problem (the error I get is 10060). Roee. "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:427131b0$1@newsgroups.borland.com... > > "Roee Bachar" <mrroee@netvision.net.il> wrote in message > news:42711531$1@newsgroups.borland.com... > > > When I'm calling the Open() method without any server listening > > at the other side I'm receiving the following error message > > If there is no server listening, you should be getting an 10061 error, not > 10060. > > > How can I eliminate this message > > You did not say whether you are using blocking or non-blocking mode. I am > going to assume that you are using non-blocking, since that is > TClientSocket's default mode. In which case, assign an OnError event > handler to the TClientSocket, and set the ErrorCode parameter to 0 to > prevent the exception from being raised. > > > Gambit > >
Technical Details
Message-ID:
<427148c5@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42711531$1@newsgroups.borland.com> <427131b0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,7ec417857cccaef3 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Roee Bachar" <mrroee@netvision.net.il> Newsgroups: borland.public.cppbuilder.internet.socket References: <42711531$1@newsgroups.borland.com> <427131b0$1@newsgroups.borland.com> Subject: Re: TClientSocket Date: Thu, 28 Apr 2005 11:34:05 +0200 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 NNTP-Posting-Host: 217.132.65.212 Message-ID: <427148c5@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1114720453 217.132.65.212 (28 Apr 2005 13:34:13 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail