Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!shelby!portia.stanford.edu!portia!eran From: eran@adelbert9.stanford.edu (eran yehudai) Newsgroups: comp.unix.programmer Subject: Re: binding sockets Message-ID: Date: 15 Sep 90 00:57:46 GMT References: Sender: news@portia.Stanford.EDU (USENET News System) Distribution: comp Organization: Stanford Linear Accelerator Center Lines: 6 In-Reply-To: eran@elaine7.stanford.edu's message of 14 Sep 90 11:52:42 It seems the namelen parameter one passes bind() should be 2 + strlen(socketname), and then everything works. -- Eran Yehudai eran@thsun1.slac.stanford.edu