Solved

NewGroups

Posted on 1998-09-29
3
170 Views
Last Modified: 2013-11-13
How do I go about creating a news group reader.  I'm not looking for someone to write the program for me.  Just what controls do I use and how do I open a connection to the server and retrieve the message Headers and Bodies.
0
Comment
Question by:PCav
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
vignola earned 100 total points
ID: 1437263
mabry has a good and cheap control for newsreaders, news.ocx. I have long tried it and found very (perhaps too much) simple.
Anyway to open a connection after connecting a socket on port
21 send LIST CRLF command after server answers if 200 or 201 ok
to have the list of newsgroups. To request headers the command is NEWNEWS ALT.2600 940105 GMT TIME FORMAT (always terminated by crlf) (or XOVER groupname date as explained above). ARTICLE followed by article-id or article number (retrieved from the NEWNEWS answer to get articles.
0
 
LVL 2

Expert Comment

by:Jagar
ID: 1437264
Can you please show me some code sample.  For Example a procedure
ConnectToNews, and GetHeader and GetBody.

0
 
LVL 1

Expert Comment

by:vignola
ID: 1437265
you have to getfamiliar with winsock calls if you plan to
create your own interface. After connecting to socket with calls to winsock the code is exactly what i explained. i.e.
dim retval ass integer
' call to winsock
retval=myconnectprocedure
ifretval=connected then
command="Get etc."
'
send(command)
if you plan to use news or any other ocx the ocx does make the job for you.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
This video teaches viewers about errors in exception handling.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question