Solved

NewGroups

Posted on 1998-09-29
3
167 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
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 goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

932 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now