Thread View: news.software.nntp
4 messages
4 total messages
Started by Brett L. Scott
Sun, 12 May 2002 16:01
[Newbie] client LIST command
Author: Brett L. Scott
Date: Sun, 12 May 2002 16:01
Date: Sun, 12 May 2002 16:01
14 lines
1239 bytes
1239 bytes
I am writing a new native NNTP parsing utility. NNTP Client. I have RTFM'd the NNTP protocol and cannot find a "termination" packet or string that indicates the end of the newsgroups list following the LIST command. Is there a methodology or am I missing something ? Brett L. Scott blscott@scottnet.com
Re: [Newbie] client LIST command
Author: Andrew - Supernews
Date: Sun, 12 May 2002 16:03
Date: Sun, 12 May 2002 16:03
14 lines
1322 bytes
1322 bytes
In article <KkwD8.146$nZ1.28250@news.uswest.net>, Brett L. Scott wrote:
> I am writing a new native NNTP parsing utility. NNTP Client.
>
> I have RTFM'd the NNTP protocol and cannot find a "termination" packet or
> string that indicates the end of the newsgroups list following the LIST
> command.
LIST output ends with a dot ('.') on a line by itself, same way as all
the other NNTP multiline responses end.
--
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: [Newbie] client LIST command
Author: Curt Welch
Date: Sun, 12 May 2002 16:11
Date: Sun, 12 May 2002 16:11
16 lines
1648 bytes
1648 bytes
"Brett L. Scott" <blscott@scottnet.com> wrote: > I am writing a new native NNTP parsing utility. NNTP Client. > > I have RTFM'd the NNTP protocol and cannot find a "termination" packet or > string that indicates the end of the newsgroups list following the LIST > command. > > Is there a methodology or am I missing something ? When you have questions like that, just telnet to port 119 on your news server and type the LIST command by hand to see what happens. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [Newbie] client LIST command
Author: Brett L. Scott
Date: Tue, 04 Jun 2002 22:16
Date: Tue, 04 Jun 2002 22:16
42 lines
2547 bytes
2547 bytes
I found the standard termination packet to be a "." followed by a chr(10) and a chr(13) or Carrige Return Line Feed. IN VB vbCrLf However, depending on the news server, this may or may not be the case. Especially if you are handling high volume. It would appear that certain servers are caching only "popular" newsgroups or articles and are trying to relay the others. This works fine so long as you are not using a high volume reader. The packets coming down from the main NNTP server I am using are very unpredictable (wide delta of time distribution). Speaking directly to the server via its native protocol and not waiting for some middleware to do it super fast. I am very happy with the performance I am getting. Thank you for your tolerance of my newbie question. Brett L. Scott "Curt Welch" <curt@kcwc.com> wrote in message news:20020512121156.667$yW@newsreader.com... > "Brett L. Scott" <blscott@scottnet.com> wrote: > > I am writing a new native NNTP parsing utility. NNTP Client. > > > > I have RTFM'd the NNTP protocol and cannot find a "termination" packet or > > string that indicates the end of the newsgroups list following the LIST > > command. > > > > Is there a methodology or am I missing something ? > > When you have questions like that, just telnet to port 119 on your news > server and type the LIST command by hand to see what happens. > > -- > Curt Welch http://CurtWelch.Com/ > curt@kcwc.com Webmaster for http://NewsReader.Com/
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