socket connect() timeout period
Anil R. Gangolli
gangolli at wolvesden.Stanford.EDU
Fri Aug 18 03:51:44 AEST 1989
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.
More information about the Comp.unix.wizards
mailing list