Thema: Delphi Indy10 synchronize

Einzelnen Beitrag anzeigen

th_bone

Registriert seit: 16. Jun 2004
172 Beiträge
 
Delphi 2005 Professional
 
#4

Re: Indy10 synchronize

  Alt 1. Aug 2006, 09:03
Hi,

die Lösung für Indy 10 geht über idsync:

Tschö

Ralf

Delphi-Quellcode:
uses idsync;

//...

procedure TfmMain.TCPServerExecute(AContext: TIdContext);
begin

  Tidsync.SynchronizeMethod(IncrConnectioncount);

//...

end;

procedure TfmMain.IncrConnectionCount;
begin
  inc(FConnectionCount);
end;
  Mit Zitat antworten Zitat