Article View: borland.public.cppbuilder.internet.socket
Article #5162Re: Timeout for TClientServer in ctBlocking ...
From: Vladimir Stefanovic
Date: Tue, 12 Oct 2004 16:41
Date: Tue, 12 Oct 2004 16:41
22 lines
1595 bytes
1595 bytes
Remy Lebeau (TeamB) wrote in message > You have to connect before you can use the stream. Yes, that's the problem. The problem is when the PC in LAN is switched-off, and I'm addressing it by the IP, the waiting period is too long. When the PC in LAN is switched-on but the ServerSocket is not listening, the waiting time is not *so* long. So I wanted to reduce the waiting time. Can I somehow check (ping) if the PC in LAN is active at all, so that I can know in advance not to try to connect at all. Best regards, Vladimir Stefanovic
Technical Details
Message-ID:
<416c0915@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!sn-xit-04!sn-xit-12!sn-xit-06!sn-xit-13!supernews.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<416bede7@newsgroups.borland.com> <416bfa1e@newsgroups.borland.com> <416c06f0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,230ad6ee6657e1fc X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <spam@not.needed> Newsgroups: borland.public.cppbuilder.internet.socket References: <416bede7@newsgroups.borland.com> <416bfa1e@newsgroups.borland.com> <416c06f0$1@newsgroups.borland.com> Subject: Re: Timeout for TClientServer in ctBlocking ... Date: Tue, 12 Oct 2004 18:41:46 +0200 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 NNTP-Posting-Host: 213.137.116.165 Message-ID: <416c0915@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1097599253 213.137.116.165 (12 Oct 2004 09:40:53 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!sn-xit-04!sn-xit-12!sn-xit-06!sn-xit-13!supernews.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail