 | UdpBroadcastClientBroadcastAsync Method |
Broadcasts a string UDP message.
Namespace: Orthogonal.MixedCommsLibAssembly: Orthogonal.MixedCommsLib (in Orthogonal.MixedCommsLib.dll) Version: 2.0.3
Syntaxpublic 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
TaskInt32A 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
See Also