|
NewsServer/X
-
Version
1.00.006
The NewsServer/X component implements server-side
communication based on the NNTP protocol. It allows
Retrieval and Posting of News articles. The component
allows complete arranging and management of
Newsgroups. Once users connect to your server, events
are fired to retrieve articles from your database,
post new articles, check headers, etc. It is up to
you whether you store articles in one file, separate
files, databases, etc., as long as you keep track of
them.
Mabry Software designed the NewsServer/X component
based on the NNTP protocol for transport, retrieval
and posting of news articles. If you don't really
know what a news server is, check out
news://news.mabry.com and see for yourself.
NewsServer/X deals with the server-side of the NNTP
protocol. It sits and waits for clients to connect.
Once connected, it sends a list of all available
Newsgroups to the client. The Client subscribes to the
groups of his interest, and reads the articles in that
group.
When NewsServer/X is first installed, you fill in
information about all the Newsgroups that will exist
on the server. You need to specify Newsgroup names,
the number of articles allowed in groups, and a
beginning and ending article index. That's all!
NewsServer/X starts waiting for clients to connect and
send requests.
When an actual article is needed by the client, an
Event is fired with enough information provided for
you to find that article in your database (or any
place it might be stored) and provide the article's
contents to NewsServer/X. You can do it the old-
fashioned way by assigning a string value to the
article object's body. Even better, when articles are
larger, you can create a Mabry IMStreamObject, and let
NewsServer/X deal with the articles directly. This
means load them when needed, release them when needed,
examine them, search them, etc.
Just by putting NewsServer/X on a form, providing
Newsgroups information, and starting the server is
enough for novice users to get started. In
|