Home All Groups Group Topic Archive Search About
Author
30 Nov 2006 7:00 PM
Bishop
I'm using VB.NET with Sockets to read newsgroup content.  I seem to have
everything working good but when I read the messages in the newsgroup I
don't seem to get the most recent messages.  I issue the "Group" command
which gives me the oldes and newest message number and I'm able to loop
through and retrieve all of them but my in Outlook Express I can find new
messages that my application didn't download.  Any thoughts on what I might
be missing?

Author
1 Dec 2006 12:06 PM
Ken Tucker [MVP]
Hi,

As long as you have not issued any next or last commands you shoud get the
most recently posted messages in reverse order. Another command you might
want to try is newnews

http://www.tcpipguide.com/free/t_NNTPCommands-2.htm

Ken
--------------------------------
Show quoteHide quote
"Bishop" <nospam@nospam.com> wrote in message
news:OZofCHLFHHA.420@TK2MSFTNGP06.phx.gbl...
> I'm using VB.NET with Sockets to read newsgroup content.  I seem to have
> everything working good but when I read the messages in the newsgroup I
> don't seem to get the most recent messages.  I issue the "Group" command
> which gives me the oldes and newest message number and I'm able to loop
> through and retrieve all of them but my in Outlook Express I can find new
> messages that my application didn't download.  Any thoughts on what I
> might be missing?
>
Author
1 Dec 2006 10:17 PM
Bishop
Thanks for the info and link.  Looking at this closer, I think that the
MessageNumber (not Message ID) may not always be consistant.  For example
when I query with the group command, it would respond with the start and
finish MessageNumbers such as:
First 419520
Last 439948

When I loop through using the Article command, it don't always get a
response for every message (more so on the larger groups with lots of
messages) so I continue to loop through until I've retireved all of them.
It seems that MessageNumber 419640 (for example) may get a different message
when I query the server for it at different times.


Show quoteHide quote
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:20F7FE12-8BCE-4817-87F6-FCD55239026D@microsoft.com...
> Hi,
>
> As long as you have not issued any next or last commands you shoud get the
> most recently posted messages in reverse order. Another command you might
> want to try is newnews
>
> http://www.tcpipguide.com/free/t_NNTPCommands-2.htm
>
> Ken
> --------------------------------
> "Bishop" <nospam@nospam.com> wrote in message
> news:OZofCHLFHHA.420@TK2MSFTNGP06.phx.gbl...
>> I'm using VB.NET with Sockets to read newsgroup content.  I seem to have
>> everything working good but when I read the messages in the newsgroup I
>> don't seem to get the most recent messages.  I issue the "Group" command
>> which gives me the oldes and newest message number and I'm able to loop
>> through and retrieve all of them but my in Outlook Express I can find new
>> messages that my application didn't download.  Any thoughts on what I
>> might be missing?
>>
>
Author
2 Dec 2006 2:16 AM
Bishop
OK, my bad, I had set a timeout and I think what was happening is I was
reading data from a previous write.  Seems to be working good now.

Show quoteHide quote
"Bishop" <nospam@nospam.com> wrote in message
news:uADxAaZFHHA.4116@TK2MSFTNGP05.phx.gbl...
> Thanks for the info and link.  Looking at this closer, I think that the
> MessageNumber (not Message ID) may not always be consistant.  For example
> when I query with the group command, it would respond with the start and
> finish MessageNumbers such as:
> First 419520
> Last 439948
>
> When I loop through using the Article command, it don't always get a
> response for every message (more so on the larger groups with lots of
> messages) so I continue to loop through until I've retireved all of them.
> It seems that MessageNumber 419640 (for example) may get a different
> message when I query the server for it at different times.
>
>
> "Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
> news:20F7FE12-8BCE-4817-87F6-FCD55239026D@microsoft.com...
>> Hi,
>>
>> As long as you have not issued any next or last commands you shoud get
>> the most recently posted messages in reverse order. Another command you
>> might want to try is newnews
>>
>> http://www.tcpipguide.com/free/t_NNTPCommands-2.htm
>>
>> Ken
>> --------------------------------
>> "Bishop" <nospam@nospam.com> wrote in message
>> news:OZofCHLFHHA.420@TK2MSFTNGP06.phx.gbl...
>>> I'm using VB.NET with Sockets to read newsgroup content.  I seem to have
>>> everything working good but when I read the messages in the newsgroup I
>>> don't seem to get the most recent messages.  I issue the "Group" command
>>> which gives me the oldes and newest message number and I'm able to loop
>>> through and retrieve all of them but my in Outlook Express I can find
>>> new messages that my application didn't download.  Any thoughts on what
>>> I might be missing?
>>>
>>
>
>