🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #39815

Re: NNTP commands fail to get response from server

#39815
From: Brian Moret
Date: Sat, 28 Mar 1998 00:00
51 lines
2383 bytes
I'd like to thank all who responded, I have found the problem.

This is my first foray into Java and obviously was wrong with my code.
I could prove I was sending chars out, but couldn't prove it was the
proper format.  So, at first I explored different socket types.  Then,
I'd been using the DataOutputStream.writeChars method, but upon further
examination, I used the DataOutputStream.writeBytes method.  That solved
my problem and I can continue with my development.  So, once again -
programmer error.

Brian

Pete the Plumber wrote:

> On Thu, 26 Mar 1998 15:24:23 -0800, Brian Moret <bmoret@towerhill.com>
>
> wrote:
>
> >I'm writing a newsreader which will get the messages from a given
> >newsgroup and put those messages into a file with a particular
> format.
> >
> >I'm developing under Windows NT 4.0, using java and my application
> >successfully connects to my news server.  I get the proper response
> of
> >"200 ...news server ready - posting ok".  But then I try to send the
> >command "GROUP news.software.readers" and I get no response from the
> >server.  I also tried to send the command, "HELP", but again, no
> >response.
> >
> >Does anyone have any suggestions on what the problem might be?
> >
> >I'd appreciate any suggestions or help,
> >Brian
> >bmoret@towerhill.com
> >
>
> Brian,
>
> I'm not sure what the problem is, but one way to troubleshoot these
> things is to connect to the server using a telnet client (with local
> echo on) and type in the command.  If you get the proper response,
> something is amiss with your code.
>
> Pete the Plumber




Technical Details
Message-ID: <351D569C.AAAA06A8@towerhill.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <351AE3A7.EB26EA56@towerhill.com> <6fhth0$6a6@bgtnsc03.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <351D569C.AAAA06A8@towerhill.com>
Subject: Re: NNTP commands fail to get response from server
Date: Sat, 28 Mar 1998 00:00:00 +0000
From: Brian Moret <bmoret@towerhill.com>
References: <351AE3A7.EB26EA56@towerhill.com> <6fhth0$6a6@bgtnsc03.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 338647308
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Organization: All USENET -- http://www.Supernews.com
Mime-Version: 1.0
Newsgroups: news.software.readers