From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079034715848.tru64-unix-managers.marc@archive.invalid> From: "Wigg, David" Date: Tue, 26 Jan 1999 16:24:26 +0000 To: tru64-unix-managers Subject: SUMMARY: socket connect timeout adjustable? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079034715848 Hi Managers, thanks for the swift response. Thanks to everyone who took the time to reply. It seems there are two main options: 1) put the socket in non blocking mode, issue the connect and then call select with a timeout 2) set a timer and perform a blocking connect, it will be interrupted by a signal (SIGALRM) if the timer expires. A third option of tweaking the kernel TCP contants was suggested, but I'm not going to do that due to the knock on effects. Option 2 works for me. Thanks again guys Best Regards, Dave David Wigg Senior Consultant Solutions Integration, Wang Global, Phone: +44(0)161 848 4146 Email : david.wigg@wang.com mailto:david.wigg@wang.com