🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to reduce the time for waiting for TClientSocket connection?

#5238
From: Vladimir Stefanovic
Date: Sun, 26 Sep 2004 12:00
18 lines
1282 bytes
Hi,

How to reduce the time for waiting for TClientSocket
connection to be established?

When working in LAN & client is in ctNonBlocking
mode OnError() is triggered in a few seconds if there
is no server listening.

When connected to internet on a single PC with no LAN
& client is in ctNonBlocking mode OnError() is triggered
in about 45 seconds.

How can I reduse this time?


Best regards,
Vladimir Stefanovic
Technical Details
Message-ID: <4156af2a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,4d8867bf079c44be,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Stefanovic" <spam@not.needed>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: How to reduce the time for waiting for TClientSocket connection?
Date: Sun, 26 Sep 2004 14:00:58 +0200
Lines: 21
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.204
Message-ID: <4156af2a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096199978 213.137.116.204 (26 Sep 2004 04:59:38 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail