Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : Re: From Indy 9 to Indy 10
| Subject: | Re: From Indy 9 to Indy 10 |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Mon, 18 Dec 2006 14:08:38 |
"York" <nospam@nospam.com> wrote in message
news:45870532$1@newsgroups.borland.com...
> If migrating to indy 10 I know I can't rely on the thread but store
> custom data in the context, Right?
What you describe for Indy 9 can still be applies in Indy 10. You would
simply derive your custom class from TIdContext instead of TIdPeerThread,
and then set the server's ContextClass property instead of the ThreadClass
property.
> And where do I create my custom "writer" thread for each client
connection?
In the same place you do in Indy 9.
> Finally could you provide me with links to download the following:
> -Latest indy 9 stable version
> -Latest indy 10 stable version
Everything is on Indy's website (http://www.indyproject.org).
Gambit