C# Класс Tx.Network.UdpDatagramHeader

Data model class that describes the header of UDP datagrams.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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