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 ?