C# Class NetworkCommsDotNet.Connections.UDP.UDPConnectionListener

A UDP connection listener
Inheritance: ConnectionListenerBase
Afficher le fichier Open project: MarcFletcher/NetworkComms.Net Class Usage Examples

Private Properties

Свойство Type Description
StartListening void
StopListening void

Méthodes publiques

Méthode Description
UDPConnectionListener ( SendReceiveOptions sendReceiveOptions, ApplicationLayerProtocolStatus applicationLayerProtocol, UDPOptions udpOptions, bool allowDiscoverable = false ) : System

Create a new instance of a UDP listener

Private Methods

Méthode Description
StartListening ( EndPoint desiredLocalListenEndPoint, bool useRandomPortFailOver ) : void
StopListening ( ) : void

Method Details

UDPConnectionListener() public méthode

Create a new instance of a UDP listener
public UDPConnectionListener ( SendReceiveOptions sendReceiveOptions, ApplicationLayerProtocolStatus applicationLayerProtocol, UDPOptions udpOptions, bool allowDiscoverable = false ) : System
sendReceiveOptions SendReceiveOptions The SendReceiveOptions to use with incoming data on this listener
applicationLayerProtocol ApplicationLayerProtocolStatus If enabled NetworkComms.Net uses a custom /// application layer protocol to provide useful features such as inline serialisation, /// transparent packet transmission, remote peer handshake and information etc. We strongly /// recommend you enable the NetworkComms.Net application layer protocol.
udpOptions UDPOptions The UDPOptions to use with this listener
allowDiscoverable bool Determines if the newly created will be discoverable if is enabled.
Résultat System