Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: nntp indy 10.1.5

www.cryer.info
Managed Newsgroup Archive

Re: nntp indy 10.1.5

Subject:Re: nntp indy 10.1.5
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Sun, 11 Jun 2006 19:45:44

"Jacques" <jacques.noah@btinternet.com> wrote in message
news:448cab1a$1@newsgroups.borland.com...

> Im struggling to list the messages in the order that they were posted.
> I have a treeview component that i'm using to list all the different
> messages, the problem is that i dont know how to identify the
> 'first post' of a group of messages in a thread and then link the replies
> to that post.

You need to use each message's "References" header for that.  It is a list
of MessageIDs that a message is in reply to.  The deeper a thread goes, the
more IDs are stored in the References.

> Also what role does the: references , msgID and Msgno play in
> structuring these messages.

The MsgNo plays no part in it at all.  The References and MessageID headers
do everything.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive