🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Modify the timeout for open() method

#3068
From: enzo
Date: Thu, 01 Dec 2005 10:29
7 lines
1123 bytes
I'm using a standard TClientSocket to connect to some servers.
When the server is down the Open() call wait several seconds before abort
for timeout.
I need to short this timeout during the open to a value of 1 second.
Is that possible , and if it is how can I do it ?

regards, enzo
Technical Details
Message-ID: <438ed040@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,234cf6f94ba290e1,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "enzo" <enzo.arlati@aesys.it>
From: "enzo" <enzo.arlati@aesys.it>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Modify the timeout for open() method
Date: Thu, 1 Dec 2005 11:29:00 +0100
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 81.208.124.114
Message-ID: <438ed040@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1133432896 81.208.124.114 (1 Dec 2005 02:28:16 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail