Article View: borland.public.cppbuilder.internet.socket
Article #4337Re: Breaking out of a blocking call
From: Vladimir Stefanovic
Date: Thu, 10 Feb 2005 19:10
Date: Thu, 10 Feb 2005 19:10
26 lines
1779 bytes
1779 bytes
Yes, now I remember you told me that once, but I have never tried. I found NonBlocking more useful to me. -- Best regards, Vladimir Stefanovic "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:420ba2ed$1@newsgroups.borland.com... > > "Vladimir Stefanovic" <antivari@po.sbb.co.yu> wrote in message > news:420b7364$1@newsgroups.borland.com... > >> I myself have *not* found the way to control the 'waiting >> to connect time' in blocking mode. For example, I wanted >> to abort if the connection was not established in 1 second. > > The only way to do that is to disconnect the socket from a different > thread > than the one that is connecting. > > > Gambit > >
Technical Details
Message-ID:
<420bb186@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!newsfeed1.ip.tiscali.net!tiscali!newsfeed2.ip.tiscali.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<420b53bb$1@newsgroups.borland.com> <420b7364$1@newsgroups.borland.com> <420ba2ed$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,4dbc2d4a94baf63e X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu> Newsgroups: borland.public.cppbuilder.internet.socket References: <420b53bb$1@newsgroups.borland.com> <420b7364$1@newsgroups.borland.com> <420ba2ed$1@newsgroups.borland.com> Subject: Re: Breaking out of a blocking call Date: Thu, 10 Feb 2005 20:10:09 +0100 Lines: 28 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; Original NNTP-Posting-Host: 82.117.212.65 Message-ID: <420bb186@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1108062598 82.117.212.65 (10 Feb 2005 11:09:58 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!newsfeed1.ip.tiscali.net!tiscali!newsfeed2.ip.tiscali.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail