C# Класс NetworkCommsDotNet.Connections.UDP.UDPConnectionListener

A UDP connection listener
Наследование: ConnectionListenerBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
StartListening void
StopListening void

Открытые методы

Метод Описание
UDPConnectionListener ( SendReceiveOptions sendReceiveOptions, ApplicationLayerProtocolStatus applicationLayerProtocol, UDPOptions udpOptions, bool allowDiscoverable = false ) : System

Create a new instance of a UDP listener

Приватные методы

Метод Описание
StartListening ( EndPoint desiredLocalListenEndPoint, bool useRandomPortFailOver ) : void
StopListening ( ) : void

Описание методов

UDPConnectionListener() публичный Метод

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.
Результат System