Click or drag to resize

OutProcessServerStartAsync Method

Requests the start of the server's background message processing thread and provides a way for the caller to await the server reaching the started state. Note that the server is considered 'started' when it it reaches the state of waiting to accept a connection, not when a client connection is made at some random later time.

Namespace: Orthogonal.MixedCommsLib
Assembly: Orthogonal.MixedCommsLib (in Orthogonal.MixedCommsLib.dll) Version: 2.0.3
Syntax
C#
public Task StartAsync(
	int port = 41411
)

Parameters

port  Int32  (Optional)
The port number to use for client connections. Valid range is 32768 to 65535.

Return Value

Task
A Task that can be used to await start completion.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if the server is already started.
See Also