Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

NewGroups

Posted on 1998-09-29
3
Medium Priority
?
178 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 200 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

916 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