Whats the difference between TIdContext & TIdPeerThread?

Giganews Newsgroups
Subject: Whats the difference between TIdContext & TIdPeerThread?
Posted by:  Jamie Dale (j.da…@turboz.net)
Date: Mon, 26 Jun 2006

Hi

I'm trying Indy 10.1.5 in D6 now.

I have a snag though, because TIdTCPServer now uses AContext instead of
AThread.

Can anyone tell me what the difference is now? - Can I simply swap AThread
to AContext in my code? - If so, how does it affect things like
TIdPeerThread(AThread).Connection.WriteLn('comment'); ??

Thanks
Jamie

Replies