C# Class SIPSorcery.Sys.UDPPacket

0 7 8 15 16 23 24 31 +--------+--------+--------+--------+ | Source | Destination | | Port | Port | +--------+--------+--------+--------+ | | | | Length | Checksum | +--------+--------+--------+--------+ | | data octets ... +---------------- ...
Show file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
DestinationPort int
Payload byte[]
SourcePort int

Public Methods

Method Description
GetBytes ( ) : byte[]
UDPPacket ( int sourcePort, int destinationPort, byte payload ) : NUnit.Framework

Method Details

GetBytes() public method

public GetBytes ( ) : byte[]
return byte[]

UDPPacket() public method

public UDPPacket ( int sourcePort, int destinationPort, byte payload ) : NUnit.Framework
sourcePort int
destinationPort int
payload byte
return NUnit.Framework

Property Details

DestinationPort public property

public int DestinationPort
return int

Payload public property

public byte[] Payload
return byte[]

SourcePort public property

public int SourcePort
return int