🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68971

Re: Termination signal

#68971
From: Miquel van Smoorenburg
Date: Tue, 13 Apr 2004 10:36
18 lines
1830 bytes
In article <407ba17c$0$19652$9b4e6d93@newsread2.arcor-online.net>,
Florian Zschocke  <edv@zschocke-berlin.de> wrote:
>Hello NG,
>
>when I read the response of the server from the socket, is the "\r\n.\r\n" 
>signal the only way to check for end of the response ? 

You really should read the relevant RFCs before you continue. Do not
write a client based on observed behaviour when telnetting to a
server. Implement the spec properly.

The old standard is RFC977 ( http://www.faqs.org/rfcs/rfc977.html )
soon to be replaced by a new RFC, latest draft at
http://www.ietf.org/internet-drafts/draft-ietf-nntpext-base-22.txt

>From that latest URL, read paragraph 3.

Mike.
Technical Details
Message-ID: <c5gfsb$4es$1@news.cistron.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!amsnews01.chello.com!newsgate.cistron.nl!news.cistron.nl!not-for-mail
References: <407ba17c$0$19652$9b4e6d93@newsread2.arcor-online.net>

Show Full Headers
Complete Article Headers
Message-ID: <c5gfsb$4es$1@news.cistron.nl>
Subject: Re: Termination signal
Date: Tue, 13 Apr 2004 10:36:59 +0000
From: "Miquel van Smoorenburg" <miquels@netscum.invalid>
References: <407ba17c$0$19652$9b4e6d93@newsread2.arcor-online.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!amsnews01.chello.com!newsgate.cistron.nl!news.cistron.nl!not-for-mail
Newsgroups: news.software.nntp
Organization: Cistron Group
Lines: 18
NNTP-Posting-Host: subspace.cistron-office.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: ncc1701.cistron.net 1081852619 4572 62.216.29.200 (13 Apr 2004
X-Complaints-To: abuse@cistron.nl
NNTP-Posting-Date: Tue, 13 Apr 2004 10:36:59 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: miquels@cistron-office.nl (Miquel van Smoorenburg)