Article View: news.software.nntp
Article #63603Simple NNTP question on connect/disconnect
From: Tim Mavers
Date: Fri, 24 Jan 2003 17:21
Date: Fri, 24 Jan 2003 17:21
31 lines
1637 bytes
1637 bytes
I am building a simple news reader in Java for a personal project. NNTP seems to be a disconnected protocol (well at least somewhat). For example, someone could be reading a message on a server for many minutes and if they are connected (socket wise), it's a waste of resources). That said, is it acceptable to connect/disconnect when communicating with the nntp server? For example: GetNewsgroupList ---------------- Connect GetGroups Disconnect GetArticleList --------------- Connect GetGroupList Disconnect While obviously there is more overhead in this approach on the client site (and it takes a little longer), is this something that is accepted, or is frowned upon? Personally, I hate having open connections just sitting there doing nothing. Thanks,
Technical Details
Message-ID:
<5bea1a50.0301240921.50017c6f@posting.google.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!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <5bea1a50.0301240921.50017c6f@posting.google.com> Subject: Simple NNTP question on connect/disconnect Date: Fri, 24 Jan 2003 17:21:05 +0000 From: webview@hotmail.com (Tim Mavers) 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!postnews1.google.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com/ Lines: 30 NNTP-Posting-Host: 209.213.195.76 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1043428866 13929 127.0.0.1 (24 Jan 2003 17:21:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Jan 2003 17:21:06 GMT