Skip to main content
Table of Contents

TTMSMCPHTTPServer.Active Property

Whether the listener is open. Setting it to True opens the port and starts accepting connections; setting it to False closes it.

API unit family: TMS.MCP.HTTPServer Declaring type: TTMSMCPHTTPServer Inherited from: TTMSMCPCustomHTTPServer Type: Boolean

Syntax

TMS.MCP.HTTPServer.hppPascalC++
property Active: Boolean;
__property bool Active = {read=GetActive, write=SetActive, nodefault};

Remarks

Opening fails when the port is already taken or, with encryption on, when the certificate cannot be used.