|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
NNTP QuestionI'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? 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? > 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? >> > 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? >>> >> > >
Re: Is VB.NET Stable?? To Aaron Kemp - Ahole Extrordinare
String to Byte & Vice Versa deployment of project migrating MSDE to SQLExpress End Processing in Multithreaded App Best way to communicate from Desktop to SQL DB Re: Is VB.NET Stable?? Create Property on the fly Cross-thread operation not valid. catching close button Re: Is VB.NET Stable?? |
|||||||||||||||||||||||