Erro Socket com o Indy 10

Delphi

24/07/2012

Ola!

Antes de atualizar o Indy para 10, o meu código era assim:
var
   ConsInteg: String;
begin
  IdTCPClientConecta.Host := Sistema.SCPCIntegradoHost;
  IdTCPClientConecta.Port := StrToInt(Sistema.SCPCIntegradoPorta);
  IdTCPClientConecta.Connect;
  IdTCPClientConecta.WriteLn(sSolicitaConsultaSCPCIntegrada);
  if (IdTCPClientConecta.ReadLnTimedout = False) then
    ConsInteg := IdTCPClientConecta.ReadLn;
end;


e sempre funcionou bem.

agora com o Indy 10 como devo fazer?
Ureis

Ureis

Curtidas 0
POSTAR