On 05-Jan-00 jg@cyberstorm.demon.co.uk wrote:
On Wed, 5 Jan 2000, Peter Onion wrote:
On 04-Jan-00 jg@cyberstorm.demon.co.uk wrote:
Hi all,
I'm need to create a library or class which will open a net connection and communicate with a news server. Yes, I need to create it myself.
What exactly are you after ?
OK, my question was based on the assumption that the user had configured the software either to do 'live' communications or store the messages locally for later posting ('on-connect', etc).
Either way I need to connect to a news server to read/post.
Is the network already connected ? If yes then you just need to open a tcp/ip socket. If no, then its going to be much harder and may depend on the way the user normally starts their ppp connection.
If it's ppp-script based for connection, then I could simply be run with a
^^ ^^-- Don't you know ??? You either need to produce a solution which will work with all methods of setting up ppp or NONE and tell the user to set the link up before running your application.
So there are two areas you need to look at: 1) TCP/IP socket based communicaions 2) the Network News Transport Protocol (NNTP) rfc0977
A good starting point would be to look at the source code for your fave news reader.....
Peter
---------------------------------- E-Mail: Peter Onion Peter.Onion@btinternet.com Date: 06-Jan-00 Time: 08:01:32
This message was sent by XFMail ----------------------------------
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]