Click or drag to resize

UdpBroadcastClient Class

Broadcasts multicast UDP messages on a specified port. Any instances of the UdpBroadcastListener class in the network horizon listening on the same port will be able to receive the broadcast messages.
Inheritance Hierarchy
SystemObject
  Orthogonal.MixedCommsLibUdpBroadcastClient

Namespace: Orthogonal.MixedCommsLib
Assembly: Orthogonal.MixedCommsLib (in Orthogonal.MixedCommsLib.dll) Version: 2.0.3
Syntax
C#
public sealed class UdpBroadcastClient : IDisposable

The UdpBroadcastClient type exposes the following members.

Constructors
 NameDescription
Public methodUdpBroadcastClient Constructs a UDP broadcaster using a specified port number.
Top
Methods
 NameDescription
Public methodBroadcastAsync Broadcasts a string UDP message.
Public methodDispose Disposes the UDP broadcaster by internally disposing of the UDP client and socket.
Public methodEquals
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Public methodToString
(Inherited from Object)
Top
Remarks
The UdpBroadcaster and UdpListener classes are part of a simple one-way broadcasting protocol which is described in detail in the Wiki article section titled UDP Broadcasting.
See Also