Article View: news.software.readers
Article #35768C code to talk with INN; netpipes
From: David L Nicol
Date: Tue, 12 Aug 1997 00:00
Date: Tue, 12 Aug 1997 00:00
25 lines
1674 bytes
1674 bytes
Hello
I need a little tool to query a news server and get its active list.
I'm trying to write one with C, using a program that opens a TCPIP
and writes to it and waits for strings it expects, which works fine
when connecting to SMTP servers, but all INN can say is "500 bad
command"
even though the same text works in a telnet connection. I've
even tried opening up "hose news.server.edu 119 -slave" and have
had mixed results: netpipes 3 works, but the new netpipes 4 doesn't
(even when piped through the netpipes 3.) Which leads me to conclude
that netpipes 3 did telnet handshaking and netpipes 4 doesn't.
Can anyone tell me, is my assessment of the situation accurate, and
where is some C code that can do the handshaking required by INN?
(in newsreaders, of course... I'm taking apart a trn as soon as
it finishes downloading, but I'm not 100% sure what I'm looking for)
______________________________________________________________________
David Nicol (816) 235 1187 UMKC Network Ops david@news.umkc.edu
"The whole kaboodle, and also the kit" -- Salman Rushdie
Technical Details
Message-ID:
<33F0FCF9.448B8672@news.umkc.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <33F0FCF9.448B8672@news.umkc.edu> Subject: C code to talk with INN; netpipes Date: Tue, 12 Aug 1997 00:00:00 +0000 From: David L Nicol <david@news.umkc.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 263869932 Organization: University of Missouri - Kansas City network operations Newsgroups: news.software.readers,comp.protocols.tcpip