TTMSMCPCustomServer.SessionCount Method
Returns how many client sessions the transport currently holds open.
API unit family: TMS.MCP.Server
Declaring type: TTMSMCPCustomServer
Syntax
function SessionCount: Integer;
Returns
Number of open sessions, or 0 when no transport is assigned.