🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by David L Nicol Tue, 12 Aug 1997 00:00
C code to talk with INN; netpipes
#35768
Author: David L Nicol
Date: Tue, 12 Aug 1997 00:00
25 lines
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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads