From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,1fc375d2a9428780,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-05-28 01:18:16 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: choefe@gmx.ch (Rolf Huebscher) Newsgroups: comp.unix.tru64 Subject: Reconnect to TCP/IP port that was previously in use Date: 28 May 2002 01:18:16 -0700 Organization: http://groups.google.com/ Message-ID: <4b9e0387.0205280018.5202837f@posting.google.com> NNTP-Posting-Host: 195.49.27.71 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1022573896 1777 127.0.0.1 (28 May 2002 08:18:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 28 May 2002 08:18:16 GMT Xref: archiver1.google.com comp.unix.tru64:7815 We have connections between two Unix (Compaq Tru64 4.0F) machines using TCP/IP. The connections are always closed and reopened. However, when trying to reopen a port that was previously in use, this will not work for some time. This time is said to be configurable somewhere, but we don't know where. Anybody who knows this? Note : the following did NOT solve the problem : "I understand you have an application program that needs open that port and it can�t do it because is still in use. Try to open the port with the "SO_REUSEADDR" option for the socket. You can set this option with the "setsockopt" call."