🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Timeouts in Indy and BCB6

#4135
From: Trevor
Date: Tue, 22 Mar 2005 12:12
24 lines
1858 bytes
Hi,

Why have connection time-outs been removed from the version of Indy 
supplied with BCB6 and replaced with the stack defaults?

I have an app written using an earlier version of Indy and BCB4 that I 
need to add more functionality too. Unfortunately for me, we have 
upgraded to BCB6 and I have had to modify the code to get the project to 
compile.

My problem now is that when I run my app, Port Scanning takes forever as 
the connection takes too long to time-out on inactive ports.

Is there any 'quick and dirty' way I can reduce the time-out without 
resorting to a major rewrite?

I'm not normally involved with winsock projects, so I am not familiar 
with all the winsock interfaces etc.

Any help would be much appreciated.

Thanks

Trevor
Technical Details
Message-ID: <42400bb2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!feeder2.ecngs.de!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,adecece1b6e003d1
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 22 Mar 2005 12:12:10 +0000
From: Trevor <trevorgoldsmith@esatclear.ie>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Timeouts in Indy and BCB6
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 0511-1, 17/03/2005), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 83.71.75.14
Message-ID: <42400bb2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111493554 83.71.75.14 (22 Mar 2005 04:12:34 -0800)
Lines: 24
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!feeder2.ecngs.de!ecngs!feeder.ecngs.de!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail