Article View: news.software.nntp
Article #35369Re: nnrpd daemon (-D) mode fixes
From: bill davidsen
Date: Fri, 12 Feb 1999 00:00
Date: Fri, 12 Feb 1999 00:00
20 lines
1647 bytes
1647 bytes
In article <79t2ms$iil$1@news1.epix.net>, Forrest J. Cavalier III <mibsoft@mibsoftware.com> wrote: | Bill, your "corrected" code fails if a sizeof(sockaddr_in) is | larger than sizeof(sockaddr). (What should happen is that | accept() would see a wrong length member and return an error.) Then perhaps the prototype is wrong, since it requires sockaddr. If so, it's wrong on a LOT of systems... which is why I assumed that the prototype was correct and the source was wrong. If that's the case it's wrong on at least Linux, BSD, SCO and AIX, I checked there before I changed it. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc Politicians and diapers have one thing in common. They should both be changed regularly and for the same reason. --Ted Symons(?)
Technical Details
Message-ID:
<7a1t47$8rka$1@newssvr04-int.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<79eufj$7nh0$1@newssvr04-int.news.prodigy.com> <873e4kprj6.fsf@erlenstar.demon.co.uk> <79smvr$7ni8$1@newssvr04-int.news.prodigy.com> <79t2ms$iil$1@news1.epix.net>Show Full Headers
Complete Article Headers
Message-ID: <7a1t47$8rka$1@newssvr04-int.news.prodigy.com> Subject: Re: nnrpd daemon (-D) mode fixes Date: Fri, 12 Feb 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <79eufj$7nh0$1@newssvr04-int.news.prodigy.com> <873e4kprj6.fsf@erlenstar.demon.co.uk> <79smvr$7ni8$1@newssvr04-int.news.prodigy.com> <79t2ms$iil$1@news1.epix.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 443702725 X-Auth-User: 000000000/a3fa24afa1298306 X-Post-Time: 12 Feb 1999 18:49:43 GMT Organization: TMR Associates, Schenectady NY X-Problems-To: abuse@prodigy.net Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com