Article View: news.software.nntp
Article #69407Re: Java Newsreaders
From: Alan Connor
Date: Mon, 05 Jul 2004 05:21
Date: Mon, 05 Jul 2004 05:21
30 lines
2444 bytes
2444 bytes
On Mon, 05 Jul 2004 02:26:14 GMT, State Of Independence <no@thanks> wrote: > > > On Sat, 03 Jul 2004 06:19:54 -0500, bobyetman@comcast.net wrote: > >>Nope, there's no technical reason, I'm using a home-brewed Java newsreader to >>reply to this. I'm not ready to share it with the world yet, it still has some bugs >>in the threading department. > > Thanks for the answers, Jeffery and Bob. Bob, are you a Java > programmer and/or very experienced with it, or would it be relatively > easy to learn to make a simple newsreader (for private use) for people > new to Java? Are there any sites that might help? > It's a lot simpler than you think. Java is just another programming language and the NNTP protocol is not particularly complex. There are newsreaders written in bash, for example, a shell scripting language. You just have to establish a TCP connection with the server (with bash, using /dev/tcp/serverIP/119, or a simple TCP tool like netcat) and then send basic commands to the server, saving the responses, most of which are the headers and bodies of the retrieved posts. For a description of the protocol and a list of these commands, see RFC 977 and RFC 2980. AC
Technical Details
Message-ID:
<Xz5Gc.5320$R36.4463@newsread2.news.pas.earthlink.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!207.217.77.102!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!65807237!not-for-mailReferences:
<bd1ebacd809d4fe04265729ce05f7178@news.teranews.com> <cc4o4s$mtp$3@puck.litech.org> <Zq6dnUWv4ofHC3vdRVn-vw@comcast.com> <3c5ca0a19907f4dd044b0d9237ecdcd0@news.teranews.com>Show Full Headers
Complete Article Headers
Message-ID: <Xz5Gc.5320$R36.4463@newsread2.news.pas.earthlink.net> Subject: Re: Java Newsreaders Date: Mon, 05 Jul 2004 05:21:59 GMT From: Alan Connor <zzzzzz@xxx.yyy> References: <bd1ebacd809d4fe04265729ce05f7178@news.teranews.com> <cc4o4s$mtp$3@puck.litech.org> <Zq6dnUWv4ofHC3vdRVn-vw@comcast.com> <3c5ca0a19907f4dd044b0d9237ecdcd0@news.teranews.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!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!207.217.77.102!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!65807237!not-for-mail Newsgroups: news.software.nntp Reply-To: xxxx@yyy.zzz User-Agent: slrn/0.9.7.3 (Linux) Lines: 30 NNTP-Posting-Host: 63.187.208.141 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.pas.earthlink.net 1089004919 63.187.208.141 (Sun, NNTP-Posting-Date: Sun, 04 Jul 2004 22:21:59 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net