To Anyone Who Has Written an NNTP Client

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there,

Ive written a basic NNTP client that is working fine in every area except
performance. Its taking about 6 or 7 times as long as Outlook to get the
same number of headers.

Ive been hunting around for a decent NNTP newsgroup for info on the client
side of things but cant find one.
So question 1 is does anyone know of one?

Secondly ive got the RFCs 1036/977/2980 etc. Through debugging I find that
my performance problem is on the wire between sending my ARTICLE command and
picking up my response.

Ive implemented the client by inheriting from TCPClient, accessing the
server through MyBase.GetStream.

So second question is are there any network gurus out there who would advise
me to rewrite the Client by inheriting from Socket.... or is there a batch
command to fetch message headers from NNTP that Im not aware of? Im not
reconnecting for each article but i am requesting the ARTICLES sequentially?

To make a DB analogy, which is all a newsserver seems to be, Im just
selecting one record at a time when i think it would be far more efficient
to have my SELECT return a dataset. Is there a command for this or do you
think its the socket/tcpclient thats the problem?

Any ideas greatly appreciated.

Thanks
Richard
 
Hi Richard,

Kudzu was a little time very active a time in these newsgroups with giving
this link on this kind of questions, they where active with delphi but
adepted also dotNet he said.

Have a look at this site.

http://www.indyproject.org/indy.html

I hope this helps,

Cor
 
Back
Top