Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   ics connection pointer (https://www.delphipraxis.net/185982-ics-connection-pointer.html)

drama22 24. Jul 2015 07:06

ics connection pointer
 
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
Delphi-Quellcode:
Client: TWSocketClient;
any idea about that ?


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:19 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz