🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53899

Re: posting news to NNTP server from Windows

#53899
From: Bert Hyman
Date: Tue, 21 Aug 2001 13:53
19 lines
1612 bytes
syoder@parthus.com (syoder) wrote in
news:ad07e1ae.0108210546.69429233@posting.google.com: 
> ...
> Are there APIs in Windows (Visual C++) that I could use to
> write a simple program?
> 

Sure; use CAsyncSocket.

Establish a session with the server on port 119 and have a little 
conversation with it.

You'll have to know a little bit of the NNTP protocol in order to 
generate the message correctly and to understand the server's responses, 
but for this simple function there's not a lot to do.

-- 
Bert Hyman | St. Paul, MN | bert@visi.com
Technical Details
Message-ID: <Xns91045A6675B8EVeebleFetzer@192.61.221.125>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!news.tufts.edu!uunet!dca.uu.net!eanews1.unisys.com!si05!not-for-mail
References: <ad07e1ae.0108201444.6660764e@posting.google.com> <20010820194326.182$Dw@newsreader.com> <ad07e1ae.0108210546.69429233@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns91045A6675B8EVeebleFetzer@192.61.221.125>
Subject: Re: posting news to NNTP server from Windows
Date: Tue, 21 Aug 2001 13:53:16 +0000
From: Bert Hyman <bert@visi.com>
References: <ad07e1ae.0108201444.6660764e@posting.google.com> <20010820194326.182$Dw@newsreader.com> <ad07e1ae.0108210546.69429233@posting.google.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!news.tufts.edu!uunet!dca.uu.net!eanews1.unisys.com!si05!not-for-mail
Newsgroups: news.software.nntp
Organization: None to speak of
Lines: 18
NNTP-Posting-Host: rah1.rsvl.unisys.com
X-Trace: si05.rsvl.unisys.com 998401996 18491 192.61.221.113 (21 Aug 2001 13:53:16 GMT)
X-Complaints-To: news@rsvl.unisys.com
NNTP-Posting-Date: 21 Aug 2001 13:53:16 GMT
User-Agent: Xnews/4.06.22