Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!agate!shelby!polya!wolvesden!gangolli
From: gangolli@wolvesden.Stanford.EDU (Anil R. Gangolli)
Newsgroups: comp.unix.wizards
Subject: Re: socket connect() timeout period
Message-ID: <11347@polya.Stanford.EDU>
Date: 17 Aug 89 17:51:44 GMT
Sender: USENET News System 
Reply-To: gangolli@wolvesden.Stanford.EDU (Anil R. Gangolli)
Organization: Stanford University
Lines: 9

Is there a way to set the timeout on connect() calls
for a socket?  Using setsockopt() to change SO_RCVTIMEO or
SO_SNDTIMEO doesn't seem to work.

Inspection of socketvar.h on my machine shows there is a field so_timeo
that seems to be for connection time out periods, but it
is not apparently accessible through setsockopt().

--anil.