From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8396dd5c491fb308,start X-Google-Attributes: gidfee84,public From: Bill Reid Subject: TCP Send Timeout Date: 1995/07/25 Message-ID: #1/1 X-Deja-AN: 106869387 sender: news@crash.cts.com (news subsystem) content-type: text/plain; charset=us-ascii organization: Simpact Associates, Inc. mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 1.2b1 (Windows; I; 16bit) I am looking for information on problems with the setsockopt() function on AIX and OSF1. I am trying to set my TCP send timeout as follows: int val = 3; /* 3 second timeout */ int len = sizeof(val); setsockopt(socket, SOL_SOCKET, SO_SNDTIMEO, &val, len); This call works on SunOS, Solaris, HPUX, NT, VMS and OPenVMS but retuuns errno=22 (EINVAL) on AIX and OSF1 systems. Does anyone have any ideas at to whether this is a bug or am I missing something? Best response is to breid@cts.com Simpact Associates See our NEW home page http://www.cts.com/browse/simpact/title.html