Internet Direct (Indy) Version 9.0.2 Beta
|
procedure Run; override;
For TIdPeerThread, Run will verify that the thread is executing using the Server context. An EIdSocketError exception is raised if the thread cannot be executed, and the connection is closed. An EIdClosedSocket exception occurs if data is written to a socket that is not connected.
If the connection is closed or aborted, the thread is stopped.