From owner-freebsd-questions Mon Dec 3 4:40:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from vvi.com (vvionly.penn.com [208.22.30.250]) by hub.freebsd.org (Postfix) with ESMTP id BD5F437B405 for ; Mon, 3 Dec 2001 04:40:24 -0800 (PST) Received: from [206.229.112.1] (HELO vvih001) by vvi.com (CommuniGate Pro SMTP 3.4.7) with ESMTP id 300240 for freebsd-questions@FreeBSD.ORG; Mon, 03 Dec 2001 07:43:36 -0500 Date: Mon, 3 Dec 2001 07:43:35 -0500 Mime-Version: 1.0 (Apple Message framework v472) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: bind() error on stale port ... From: Lance Bland To: freebsd-questions@FreeBSD.ORG Content-Transfer-Encoding: 7bit Message-Id: <5DF8B77C-E7EB-11D5-A5E1-0030659A531A@vvi.com> X-Mailer: Apple Mail (2.472) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi- I get an error on bind() this way: Start process that calls bind() Kill process Start same process up right away. -> bind() error The reason is because the port is settling down from the last process run before it is put back in the pool of available pool of ports. I fixed this before with a call to some function (I think that was sysctl()??) that said "dereference port immediately when process is no longer around". The problem is: I can't remember the function I called, and the flag it needed. It was simple and worked, I just can't remember it. If some kind soul would please refresh my memory I promise not to forget again :-) -lance _______________________________________________ Lance Bland System Administrator at VVI mailto:lance.bland@vvi.com http://www.vvi.com Realtime, bulk and web data reporting and visualization To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message