🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25930

Re: How is INN licensed and porting to NT

#25930
From: Marc Slemko
Date: Sat, 07 Feb 1998 00:00
35 lines
2166 bytes
In <6bgo8h$6v6$1@news.ro.com> cadams@ro.com (Chris Adams) writes:

>According to Forrest J. Cavalier III <mibsoft@mibsoftware.com>:
>>I looked at porting to NT, and decided that there are two main
>>obstacles:
>>    - NT does not support file linking for crossposts.
>>      (Netscape "solved it" by duplicating the files!
>>
>>    - sockets are not file descriptors, and you'd have to
>>      separate all the read() and write() calls to go to
>>      the Winsock equivalents.

>NT4 is supposed to include some sort of POSIX compatibility subsystem
>(some tools are included on the NT Resource Kit CD).  POSIX requires
>hard links, and NTFS is supposed to support them.  The description of
>the socket(2) call in the Unix98 spec says it returns a file descriptor.
>I don't know if that was in POSIX or not, but if it was, NT4 should
>support that too.

Suuuuuure it does.  It just doesn't work.  Trust me, to get a decent
performing NT network server app you have to rewrite it in the NT
way.  Other things are broken.  Very broken.  eg. select() will tell
you a descriptor is writable, yet when you try to write it in nonblocking
mode it fails and tells you it would block.  The answer?  Add a delay
before you try writing.

NTs filesystem also seems to be far too slow with directory updates
to be useful for a file-per-article storage system.

While I'm sure you could port INN to NT, you would have trouble making
it a decent performer without a lot of work.  There are better solutions
I think.

Technical Details
Message-ID: <6bgq25$n0d$1@scanner.worldgate.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-mail
References: <34dc6c86.106904770@news1.mid-ga.com> <6bg24l$dph$1@nntp.epix.net> <6bgo8h$6v6$1@news.ro.com>

Show Full Headers
Complete Article Headers
Message-ID: <6bgq25$n0d$1@scanner.worldgate.com>
Subject: Re: How is INN licensed and porting to NT
Date: Sat, 07 Feb 1998 00:00:00 +0000
From: Marc Slemko <marcs@znep.com>
References: <34dc6c86.106904770@news1.mid-ga.com> <6bg24l$dph$1@nntp.epix.net> <6bgo8h$6v6$1@news.ro.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-mail
X-Deja-AN: 322836015
Organization: WorldGate Inc. http://www.worldgate.com/
Newsgroups: news.software.nntp