From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <20001031165746.9211.qmail@g.bio.cse.psu.edu> To: 9fans@cse.psu.edu Subject: Re: [9fans] APE socket bug fix In-Reply-To: Message from nigel@9fs.org of "Tue, 31 Oct 2000 11:32:22." From: Scott Schwartz Date: Tue, 31 Oct 2000 11:57:46 -0500 Topicbox-Message-UUID: 1ead7330-eac9-11e9-9e20-41e7f4b1d025 | gethostbyaddr() has a sign extension bug which causes it to mess up | the building of the 32 bit address to put in in_addr. Additionally, | htonl() is required to convert to network byte order. So Actually the addr parameter is supposed to be supplied in network order. This is one of several related bugs that I fixed for the second edition. See http://www.cse.psu.edu/~schwartz/www/ape-diffs.bz2