Click or drag to resize

UdpDiscoverResponder Constructor

Constructs a UDP responder with a callback and port number.

Namespace: Orthogonal.MixedCommsLib
Assembly: Orthogonal.MixedCommsLib (in Orthogonal.MixedCommsLib.dll) Version: 2.0.3
Syntax
C#
public UdpDiscoverResponder(
	DiscoverCallback respondCallback,
	int port = 54668
)

Parameters

respondCallback  DiscoverCallback
A callback function that the client application intercepts and uses to compose a response message to the broadcasting client.
port  Int32  (Optional)
The port number shared with the client broadcaster.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the port is not in the range 1024 to 65535.
See Also