Click or drag to resize

UdpDiscoverResponder Class

Listens for UDP messages arriving on a specific port and sends a user defined response back to the caller on the same port. This simple protocol can be used for 'discovery' where a client app sends a broadcast asking for responses, then this responder class sends the response. A similar technique is used by SQL Server and related tools when they support a 'find servers' command.
Inheritance Hierarchy
SystemObject
  Orthogonal.MixedCommsLibUdpDiscoverResponder

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

The UdpDiscoverResponder type exposes the following members.

Constructors
 NameDescription
Public methodUdpDiscoverResponder Constructs a UDP responder with a callback and port number.
Top
Methods
 NameDescription
Public methodDispose Stops listening for discovery client messages and releases resources.
Public methodEquals
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Public methodToString
(Inherited from Object)
Top
See Also