Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jun : nntp comp has me stumped...go figure

www.cryer.info
Managed Newsgroup Archive

nntp comp has me stumped...go figure

Subject:nntp comp has me stumped...go figure
Posted by:"dave" (richoce..@hotmail.com)
Date:Tue, 24 Jun 2008 17:41:03

Can anyone tell me why the following does not work with the tidnntp
component?

myPort := 119;
  IdNNTP1.Connect('nntp.charter.net', myPort);

when i try this i get "bad command usage".

if i assign an intercept and an iohandler i get "connection closed
gracefully".

????????

Sorry, i am very new to this comp, and cannot even get it to connect to my
newsgroup server that is provided by charter. it does not require login or
anything, i have used many ng readeers to connect to it, and i wanted to
write my own. (for fun)

any help anyone can give to point me in the right direction would be greatly
appreciated. The only demo i could find for this comp is in VB not delphi.

Thanks,
Dave

Replies:

www.cryer.info
Managed Newsgroup Archive