Table of Contents

TTMSMCPNamedPipeTransport.Start Method

Publishes the pipe and waits briefly for it to come up.

API unit family: TMS.MCP.Transport.NamedPipe Declaring type: TTMSMCPNamedPipeTransport

Syntax

procedure Start; override;

Remarks

Returns immediately when the channel is already running. It waits up to one second for the pipe to be created, then reports success through TTMSMCPNamedPipeTransport.Connected; the channel only counts as running when the pipe was actually created, so check TTMSMCPTransport.Running afterwards rather than assuming the call succeeded. A failure is reported through TTMSMCPTransport.OnError and leaves the channel stopped instead of raising. On a platform without named pipes the channel always stays stopped.