Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2000 19:20:07 +0100 (BST)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        questions@freebsd.org
Cc:        net@freebsd.org
Subject:   Re: BUG? bind: Can't assign requested address (EADDRNOTAVAIL)
Message-ID:  <Pine.GHP.4.21.0006251918190.5484-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <Pine.GHP.4.21.0006251747050.4776-100000@mail.ilrt.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GHP.4.21.0006251918190.5484-100000>