🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #15007

Re: Help programming news reader?

#15007
From: Chip Olson
Date: Fri, 03 Feb 1995 22:21
44 lines
2914 bytes
Nick J Denker <cs5njd@humus.ucc.hull.ac.uk> wrote:

>I've been assigned for my final year project to write a news group viewer
>for a networked PC (novell), similar to trumpet, win VN etc. I initially
>tried utilising the winVN code for windows, but it's very complex and I'm
>having immense difficulties even getting a windows program (that does
>NOTHING) to compile and run!
>
>I can't find any source code for a dos program to base my ideas on. Any help?
>
>Also I need the specs on NNTP (basic stuff), how to interface with
>WINSOCK.DLL or a dos equivalent driver etc. and any other information
>that would be useful either in programming or for my dissertation. The
>whole thing needs to be done in a few weeks (pref 2) (I hit a lot of
>problems)

WinVN's a rather piss-poor example to base anything on; just reading the
source code makes me nauseous.  The most important thing to look at is
RFC 977, the spec for NNTP.  Also look at the spec for NOV/XOVER, which
was recently reposted to news.software.readers, and if you're going to
be posting, look at RFC's 850 and "son-of-850", its proposed replacement.
The Winsock spec is available at, among other places, sunsite.unc.edu in
the directory /pub/micro/pc-stuff/ms-windows/winsock or somewhere below
there. You might find the RFCs at that site as well, if not, that's what
archie's for.

Now, Winsock will let you run it over any TCP/IP stack; if you're going
to write it in DOS, it'll have to be specific to a particular stack. I've
never heard of a news reader or server for Novell; NNTP is specific to
TCP/IP.

If you don't already have it, Petzold's _Programming Windows 3.1_ is the
text to have.  The memory-management chapter is obsolete, however; for
most purposes you can just use malloc() and free(). See your compiler's
docs, and ftp.microsoft.com, for more info.

Good luck!



-Chip Olson. | ceo@ftp.com | FTP's opinions are even weirder than mine.
This article is a natural product.  The slight variations in logic and
coherence enhance its individual character and beauty and in no way are
to be considered flaws or defects.
Technical Details
Message-ID: <3gub4a$hau@lard.ftp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!news.iag.net!news.mathworks.com!news2.near.net!lard.ftp.com!anarres
References: <Pine.SUN.3.91.950201160624.27845A-100000@humus>

Show Full Headers
Complete Article Headers
Message-ID: <3gub4a$hau@lard.ftp.com>
Subject: Re: Help programming news reader?
Date: Fri, 03 Feb 1995 22:21:16 +0000
From: ceo@ftp.com (Chip Olson)
References: <Pine.SUN.3.91.950201160624.27845A-100000@humus>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!news.iag.net!news.mathworks.com!news2.near.net!lard.ftp.com!anarres
Newsgroups: news.software.readers
Organization: FTP Software, Inc.
Lines: 44
Distribution: world
NNTP-Posting-Host: anarres.ftp.com
X-Newsreader: News Xpress Version 1.0 Beta #2