Article View: news.software.nntp
Article #71820Re: NNTP posting headers...
From: hlwu
Date: Sat, 11 Jun 2005 03:25
Date: Sat, 11 Jun 2005 03:25
21 lines
2040 bytes
2040 bytes
John Smith wrote:
> Russ:
>
> Here is the code, it reads the headers I gave in previous post, from a
> file, drops the lf which fgets() returns and appends the cr-lf
> combination:
>
> while(!feof(f))
> {
> fgets(s, 1024, f); // read header/msg line
> s[(strlen(s) - 1)] = 0; // drop lf
> strcat(s, "\r\n"); // append cr-lf
> snd(s); // send line to news server
> }
>
> Warmest regards,
> John
>
Would you post the rest of the code (from snd(s) till the part
that receives 441)?
Technical Details
Message-ID:
<1118460352.bdf9cb8e357df309ac11eda932577499@teranews>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.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed-west.nntpserver.com!manticore.nntpserver.com.POSTED!teranews!not-for-mailReferences:
<W%pqe.2023$Q_3.4102173@news.sisna.com> <874qc53ex8.fsf@windlord.stanford.edu> <NSqqe.2929$DA5.4616216@news.sisna.com>Show Full Headers
Complete Article Headers
Message-ID: <1118460352.bdf9cb8e357df309ac11eda932577499@teranews> Subject: Re: NNTP posting headers... Date: Fri, 10 Jun 2005 23:25:18 -0400 From: hlwu <hlwu@ms37.hinet.net> References: <W%pqe.2023$Q_3.4102173@news.sisna.com> <874qc53ex8.fsf@windlord.stanford.edu> <NSqqe.2929$DA5.4616216@news.sisna.com> 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.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed-west.nntpserver.com!manticore.nntpserver.com.POSTED!teranews!not-for-mail User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp In-Reply-To: <NSqqe.2929$DA5.4616216@news.sisna.com> Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: 7bit Lines: 21 NNTP-Posting-Date: Fri, 10 Jun 2005 22:25:52 EST X-Abuse-Report: http://www.usenetabuse.com X-Abuse-Notes: Abuse reports must be submited via the usenetabuse.com portal listed above. X-Abuse-Notes2: Reports sent via any other method will not be processed. X-Abuse-Notes3: Any other abuse reporting headers in this article are fraudulent. X-Orginal-Message-ID: <4Rsqe.208066$Tk5.178095@manticore.nntpserver.com>