From owner-freebsd-net Sun Jun 25 11:20:28 2000 Delivered-To: freebsd-net@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id C89F237BBD0; Sun, 25 Jun 2000 11:20:14 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Sun, 25 Jun 2000 19:20:08 +0100 Received: from localhost (cmjg@localhost) by mail.ilrt.bris.ac.uk (8.8.7/8.8.8) with ESMTP id TAA05507; Sun, 25 Jun 2000 19:20:07 +0100 (BST) Date: Sun, 25 Jun 2000 19:20:07 +0100 (BST) From: Jan Grant To: questions@freebsd.org Cc: net@freebsd.org Subject: Re: BUG? bind: Can't assign requested address (EADDRNOTAVAIL) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 25 Jun 2000, Jan Grant wrote: > Small application, IP4-only, and I'm stuck with something that ought to > be trivial :-( It was; bzeroing the sockaddr_in before use helped. I ought to (a) pay more attention when writing test code, and (b) pay more attention to things like /* MUST BE ZERO */ :-) sheepishly, jan -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk Ceci n'est pas une pipe | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message