Article View: news.software.nntp
Article #55708Re: How the Server handle cross-posting
From: Curt Welch
Date: Sat, 22 Dec 2001 02:36
Date: Sat, 22 Dec 2001 02:36
55 lines
3585 bytes
3585 bytes
"Joshua" <joshua2002@hotmail.com> wrote: > Well,I am programming a News Server,and I wonder if the server can do > anything about it? I'm lost as to what you are asking. The server needs to do what the server does and you should ignore the client. Just implement the protocol. When you get a new article, the server assigns the next higest unused article to it for each group it wants to post the article to. It puts this information into the Xref: header for the client to read. The client finds out about new articles using the group command. It sees a high artile number so it knows there are new articles. It uses commands like xover, or head, or article, or body to find out information about the article. The group command also returns a low article count. That is what the newsreader client will use to know that all articles in that group, below the low water mark have expired. But articles can expire (or be cancled) from the middle of the range from low to high in a group as well. When that happens, xover whould stop returning information about the artile. The head, body, article, and stat commands will return an error code if you try to read that article. The listgroup command will no longer return the article number for that group. A newsreader might use any of that information to learn that the article has been expired. Or it might not care. Some newsreader seem to be real stupid about such things and will continue to show you header information even thought the article has long since expired. > In what situation,the client software will be made for > deciding to check the old,downloaded articles and make them un-visual? That totaly depends on the client. > Yes,Outlook Express and Forte Agent's documents will tell some valuable > help,but they must be only for How To Do,while I need to know How They > Function. Write a server. Add debug commands to show you what they are doing. Figure it out for yourself. If you read the NNTP RFCs, it should be fairly obvious what the server has to do. If it's not obvious, then you probably shouldn't be trying to write a server. You would probably get further if you tried to write a client first. Even something very simple just to get an idea of what you are dealing with. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20011221213617.979$8M@newsreader.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!netnews.com!xfer02.netnews.com!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<a002bb$ahi$1@mail.cn99.com> <a0064b$5jm$4@news.panix.com> <a00dlg$kes$1@mail.cn99.com> <a00jvb$a56$2@news.panix.com> <a00n05$rs$1@mail.cn99.com>Show Full Headers
Complete Article Headers
Message-ID: <20011221213617.979$8M@newsreader.com>
Subject: Re: How the Server handle cross-posting
Date: Sat, 22 Dec 2001 02:36:17 +0000
From: curt@kcwc.com (Curt Welch)
References: <a002bb$ahi$1@mail.cn99.com> <a0064b$5jm$4@news.panix.com> <a00dlg$kes$1@mail.cn99.com> <a00jvb$a56$2@news.panix.com> <a00n05$rs$1@mail.cn99.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!netnews.com!xfer02.netnews.com!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com _qTzH6Mqgs,VcY0lU5XLDEhnrn1n4JMRfObVDCFaYqVaN+.
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 54