Table of Contents

TTMSMCPClient.OnCreateIOHandler Event

Occurs while a network transport prepares its connection, so the application can supply its own input/output handler.

API unit family: TMS.MCP.Client Declaring type: TTMSMCPClient Inherited from: TTMSMCPCustomClient Type: TTMSMCPClientTransportCreateIOHandler

Syntax

property OnCreateIOHandler: TTMSMCPClientTransportCreateIOHandler;

Remarks

Use it to control how a secure connection is established, for example to select the protocol versions or to validate the certificate. It is raised with the server entry as sender, on the thread that opens the connection, and only for the transports that use the network.