C# Class Tx.Network.UdpDatagramHeader

Data model class that describes the header of UDP datagrams.
Datei anzeigen Open project: Reactive-Extensions/Tx Class Usage Examples

Public Properties

Property Type Description
DestinationPort ushort
SourcePort ushort
UdpCheckSum ushort
UdpLength ushort

Public Methods

Method Description
UdpDatagramHeader ( ushort sourcePort, ushort destinationPort, ushort udpLength, ushort udpCheckSum )

Initializes a new instance of the UdpDatagramHeader class.

Method Details

UdpDatagramHeader() public method

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.

Property Details

DestinationPort public_oe property

The destination port.
public ushort DestinationPort
return ushort

SourcePort public_oe property

The source port.
public ushort SourcePort
return ushort

UdpCheckSum public_oe property

The UDP check sum.
public ushort UdpCheckSum
return ushort

UdpLength public_oe property

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