Indy 9
|
TIdPeerThread = class(TIdThread)
Requests for TIdPeerThreads are created by a TIdListenerThread, and are delegated to the TIdThreadMgr for the TCP server.
property Connection: TIdTCPServerConnection;
Requests for TIdPeerThreads are created by a TIdListenerThread, and are delegated to the TIdThreadMgr for the TCP server.
In TIdPeerThread, Connection is owned by the Connection.Server that is the end-point of the connection.
Connection can be used to access properties, methods, and events of the server, and to allow data transmission in a manner similar to a client connection. For example: