Click or drag to resize

UdpBroadcastClientBroadcastAsync Method

Broadcasts a string UDP message.

Namespace: Orthogonal.MixedCommsLib
Assembly: Orthogonal.MixedCommsLib (in Orthogonal.MixedCommsLib.dll) Version: 2.0.3
Syntax
C#
public Task<int> BroadcastAsync(
	string message
)

Parameters

message  String
The string message to send (broadcast). The string is internally converted into a UTF-8 encoded buffer for transmission.

Return Value

TaskInt32
A Task returning an Int32 which represents the result of the asynchronous broadcast operation. The MSDN documentation on the SendAsync method does not clearly explain what the returned integer value represents.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThrown if this class is disposed.
See Also