🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #861

Re: binding sockets

#861
From: eran yehudai
Date: Sat, 15 Sep 1990 00:57
6 lines
748 bytes
It seems the namelen parameter one passes bind() should be
2 + strlen(socketname), and then everything works. 

--
Eran Yehudai
eran@thsun1.slac.stanford.edu
Technical Details
Message-ID: <ERAN.90Sep14175746@adelbert9.stanford.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!shelby!portia.stanford.edu!portia!eran
References: <ERAN.90Sep14115242@elaine7.stanford.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <ERAN.90Sep14175746@adelbert9.stanford.edu>
Date: 15 Sep 90 00:57:46 GMT
References: <ERAN.90Sep14115242@elaine7.stanford.edu>
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