From owner-freebsd-questions Tue Sep 5 20:45:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 49C3C37B423 for ; Tue, 5 Sep 2000 20:45:30 -0700 (PDT) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=root) by scientia.demon.co.uk with esmtp (Exim 3.16 #1) id 13WSrL-000GwS-00; Wed, 06 Sep 2000 01:14:35 +0100 Received: (from ben@localhost) by strontium.scientia.demon.co.uk (8.9.3/8.9.3) id BAA23838; Wed, 6 Sep 2000 01:14:35 +0100 (BST) (envelope-from ben) Date: Wed, 6 Sep 2000 01:14:35 +0100 From: Ben Smithurst To: William Melanson Cc: David.Johnston@vviuh221.vvi.com, freebsd-questions@FreeBSD.ORG Subject: Re: Thanks for the good book and newbie question ... Message-ID: <20000906011435.J72445@strontium.scientia.demon.co.uk> References: <10009051616.AA02890@vviuh221.vvi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG William Melanson wrote: > On Tue, 5 Sep 2000, David Johnston wrote: > > % Hi Again FreeBSD: > % > % > UNIX Network Programming, Volume 1, second Edition. > % > % I wrote my first client/server sub-system using the book's examples. It is so cool! > % > % Now I need to ask the occasional question. Is there a better freebsd mail > % list for these type of questions? The one I have now is the following: > % > % When I kill the server then immediately restart it then bind gives "bind > % error: Address already in use". But if I wait for about 1 minute then I can > % start the server up again. How do I make it such that bind will "figure it > % out" right away, or (put another way) why can't bind figure out that the > % address and port are no longer in use? > > The command "ndc" may be of help to you. take a look at it's manpage. Either you're confused, or I am. "ndc" is a program to control named, but he's talking about the bind(2) system call, not the BIND DNS server. Unless "ndc" is another program I don't know about. -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message