Einzelnen Beitrag anzeigen

drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#1

ics connection pointer

  Alt 24. Jul 2015, 07:06
hello , i was using indy TCPserver and tcp client

in indy server connect event i been using AContext to identify incoming connection pointer as example
Delphi-Quellcode:

TConnection = class(TObject)
Thread: Pointer;
end;

var
  Connection : TConnection;
begin
Connection := TConnection.Create;
Connection.Thread := AContext;
AContext.Data := Connection;
end;
that was in indy tcp . can i do the same in ICS ? ics dont have on its server connect event Acontext it has Client: TWSocketClient; any idea about that ?

Geändert von drama22 (24. Jul 2015 um 07:09 Uhr)
  Mit Zitat antworten Zitat