Results 1 to 2 of 2

Thread: nntp using Winsock

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 1999
    Posts
    80

    Post

    Hi,

    How do I detect the end of a response to a "list" command to a nntp server using winsock?

    The list is quite long and the response does not come all at once. I need to know when does the response end so that I could prepare for the next incoming message whatever it may be.

    I tried
    If InStr(Received, vbLf & ".") Then
    isList = False
    End If
    but it didn't work.

    Please help.

    Thanks in advance.

  2. #2
    Fanatic Member
    Join Date
    Jun 1999
    Location
    California, USA
    Posts
    662
    before anybody get's pissed at me for this, like happened last time i did this, YES I DO REALIZE THIS POST IS FROM A LONG TIME AGO!!!

    anyway...

    I would think that you could log into the news server with a seperate winsock control, dedicated specifically to downloading the list when needed. You could use a time out period: disconnect if no data received after x minutes.

    Would you mind pointing me in the proper direction for more info on the Usenet protocol? I'm writing an "automatic" client (for archiving, not spaming).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width