PipeHost(TMessage).Start Method

Tungsten Suite

PipeHostTMessageStart Method

Creates the specified number of pipe servers and starts listening for clients

Namespace:  W.IO.Pipes
Assembly:  Tungsten.IO.Pipes (in Tungsten.IO.Pipes.dll) Version: 2.0.3
Syntax
C#
public uint Start(
	string pipeName,
	int maxConnections
)

Parameters

pipeName
Type: SystemString
The name of the pipe
maxConnections
Type: SystemInt32
The maximum number of pipe servers to create.

Return Value

Type: UInt32

[Missing <returns> documentation for "M:W.IO.Pipes.PipeHost`1.Start(System.String,System.Int32)"]

Remarks
Because PipeHost creates a PipeServer for each possible connection, this value cannot be negative. This breaks the standard paradigm for pipes. If this does not work for you, use PipeServer instead.
See Also