🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8543

Re: What's the problem?

#8543
From: Jacques Jamain
Date: Sat, 15 Jun 1996 00:00
27 lines
1444 bytes
In article <4praqc$1om@netnews.ntu.edu.tw>,
s1611372@mcu.edu.tw (student) wrote:
 [...]
>
>    I read the RFC977, and the document expressed that
>the text response will be ended by CR-LF.CR-LF. But, my
>program is always in the block state when it read the CR-LF.
>and wait for another CR-LF.
>   I don't know if the server sent the whole CR-LF.CR-LF, so
>I tried to write a different program which will think that the
>server will send CR-LF. to represent the end of the text response.
>And,  it worked smoothly in the beginning, but it still have
>some errors in the reading operation.
>   Could anybody tell me what the problem is ?
>

My experience is that the end of stream from the news server
is always: "crlf.\0" (w/o "), no ending crlf.
Hope this help.
Cheers d:)

--
Jacques JAMAIN   - jamain@ibm.net
   ... on the french riviera ...

Technical Details
Message-ID: <DqtwxA3ibtQc090yn@ibm.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.mbox.zip!not-for-mail
References: <4praqc$1om@netnews.ntu.edu.tw>

Show Full Headers
Complete Article Headers
Message-ID: <DqtwxA3ibtQc090yn@ibm.net>
Subject: Re: What's the problem?
Date: Sat, 15 Jun 1996 00:00:00 +0000
From: jamain@ibm.net (Jacques Jamain)
References: <4praqc$1om@netnews.ntu.edu.tw>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 160342638
Distribution: inet
Content-type: text/plain; charset=ISO-8859-1
Mime-version: 1.0
Newsgroups: news.software.nntp