Subject: Re: dumb bind() question..? (round 2)
To: None <netbsd-help@NetBSD.ORG>
From: Christoph Badura <bad@ora.de>
List: netbsd-help
Date: 03/26/1998 18:46:00
tooleym@douglas.bc.ca writes:
>The appended program gives me the following:

>bind
>status: -1
>stupid program:: Can't assign requested address

You should bzero() the sockaddr before you fill in the fields.
-- 
Christoph Badura

Now available in print: Lion's Commentary on UNIX 6th Edition, with Source Code
			http://www.peer-to-peer.com/