C# 클래스 NetworkCommsDotNet.Connections.UDP.UDPConnectionListener

A UDP connection listener
상속: ConnectionListenerBase
파일 보기 프로젝트 열기: MarcFletcher/NetworkComms.Net 1 사용 예제들

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