From owner-freebsd-hackers Sat Jan 11 03:51:42 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id DAA12274 for hackers-outgoing; Sat, 11 Jan 1997 03:51:42 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id DAA12254 for ; Sat, 11 Jan 1997 03:51:22 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id MAA21510 for hackers@FreeBSD.ORG; Sat, 11 Jan 1997 12:51:19 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id MAA29608; Sat, 11 Jan 1997 12:40:50 +0100 (MET) Message-ID: Date: Sat, 11 Jan 1997 12:40:50 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG (FreeBSD Hackers) Subject: Re: bind(2): address already in use -- how to fix? References: <199701102105.QAA23987@home.winc.com> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from Jonathan Lemon on Jan 10, 1997 16:29:39 -0600 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Jonathan Lemon wrote: > > "Address already in use" > > You need to set SO_REUSEADDR in order to re-use the socket. See your copy > of Stevens. Btw., does a proper shutdown(2) also suffice? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)