* Socket time out
@ 1995-07-20 4:00 Bill Reid
0 siblings, 0 replies; only message in thread
From: Bill Reid @ 1995-07-20 4:00 UTC (permalink / raw)
I have a question on using the setdockopt() function to set socket
timeouts. By all indications from the manual, etc. I should be able
to set my send timeout by using the following:
int iOptVal = 2; /* 2 seconds */
int iOptSize = sizeof(iOptVal);
setsockopt(socket, SOL_SOCKET, SO_SNDTIMEO, &iOptval, iOptSize);
This works on SunOS, Solaris, HPUX, NT(Intel) and NT(alpha) but
I get an error on DEC OSF1 (errno = 22, invalid). Has anyone else
run into this problem? Any help would be appreciated.
Thx. Bill Reid (San Diego, Ca.) e-mail: breid@cts.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-07-20 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-20 4:00 Socket time out Bill Reid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox