C# 클래스 Tx.Network.UdpDatagramHeader

Data model class that describes the header of UDP datagrams.
파일 보기 프로젝트 열기: Reactive-Extensions/Tx 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DestinationPort ushort
SourcePort ushort
UdpCheckSum ushort
UdpLength ushort

공개 메소드들

메소드 설명
UdpDatagramHeader ( ushort sourcePort, ushort destinationPort, ushort udpLength, ushort udpCheckSum )

Initializes a new instance of the UdpDatagramHeader class.

메소드 상세

UdpDatagramHeader() 공개 메소드

Initializes a new instance of the UdpDatagramHeader class.
public UdpDatagramHeader ( ushort sourcePort, ushort destinationPort, ushort udpLength, ushort udpCheckSum )
sourcePort ushort The source port.
destinationPort ushort The destination port.
udpLength ushort The length of the UDP datagram including the UDP header.
udpCheckSum ushort The UDP check sum.

프로퍼티 상세

DestinationPort 공개적으로 프로퍼티

The destination port.
public ushort DestinationPort
리턴 ushort

SourcePort 공개적으로 프로퍼티

The source port.
public ushort SourcePort
리턴 ushort

UdpCheckSum 공개적으로 프로퍼티

The UDP check sum.
public ushort UdpCheckSum
리턴 ushort

UdpLength 공개적으로 프로퍼티

The length of the UDP datagram including the UDP header.
public ushort UdpLength
리턴 ushort