tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Wigg, David" <David.Wigg () wang ! com>
To: tru64-unix-managers
Subject: SUMMARY: socket connect timeout adjustable?
Date: Tue, 26 Jan 1999 16:24:26 +0000	[thread overview]
Message-ID: <96079034715848.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1999-01-26 16:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox