|
-
Feb 7th, 2000, 11:55 AM
#1
Thread Starter
Lively Member
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.
-
Sep 26th, 2003, 01:01 AM
#2
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|