Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : A couple more problems trying to change from indy 9 to indy 10

www.cryer.info
Managed Newsgroup Archive

A couple more problems trying to change from indy 9 to indy 10

Subject:A couple more problems trying to change from indy 9 to indy 10
Posted by:"Kiwi" (gl..@custommadesoftware.co.nz)
Date:Thu, 10 Aug 2006 15:57:43 +1200

This code no longer compiles as the intercepts are no longer used.
  with TCPClient do
  begin
    Port:= 9600;
    ReadTimeout:= 5000;
{    Intercept:= fConnectionIntercept;
    Intercept.OnReceive:= InterceptReceive;
    Intercept.OnSend:= InterceptSend;}
    fidTCPClient.OnConnected:= TCPClientConnected;
    fidTCPClient.OnDisconnected:= TCPClientDisconnected;
  end;

Any ideas on what to do here.

This being a simple one I think but cant find the answer to it

      TCPClient.WriteBuffer(Command, SizeOf(Command));
does not compile in Indy 10

Is there any sample programs for TCP indy 10 as this would probably answer
my questions?

Replies:

www.cryer.info
Managed Newsgroup Archive