Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 1997 16:29:39 -0600
From:      jlemon@americantv.com (Jonathan Lemon)
To:        mgessner@aristar.com
Cc:        hackers@freebsd.org (FreeBSD Hackers)
Subject:   Re: bind(2): address already in use -- how to fix?
Message-ID:  <Mutt.19970110162939.jlemon@right.PCS>
In-Reply-To: <199701102105.QAA23987@home.winc.com>; from mgessner@aristar.com on Jan 10, 1997 16:05:55 -0500
References:  <199701102105.QAA23987@home.winc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
mgessner@aristar.com writes:
> 	in sig_chld, I get reported to me several pids that WERE NOT
> the result of a fork() call by the server.  Why is this?

Most probably, they are the pids of the processes that you have spawned
with popen().  popen() does an implicit fork/exec.


> 	"Address already in use"

You need to set SO_REUSEADDR in order to re-use the socket.  See your copy
of Stevens.
--
Jonathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970110162939.jlemon>