🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Florian Zschocke Tue, 13 Apr 2004 08:14
Termination signal
#68969
Author: Florian Zschocke
Date: Tue, 13 Apr 2004 08:14
8 lines
1272 bytes
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 ?

Thank you for your time and help

Florian
Re: Termination signal
#68971
Author: 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.
Re: Termination signal
#68974
Author: Florian Zschocke
Date: Tue, 13 Apr 2004 11:08
24 lines
1938 bytes
"Miquel van Smoorenburg" <miquels@netscum.invalid> wrote:
>
>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.
>
So, the simple answer is *NO*

Thank yo

Florian
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