Property | Type | Description | |
---|---|---|---|
DestinationPort | int | ||
SourcePort | int |
Method | Description | |
---|---|---|
UdpPacket ( MemBlock packet ) : Brunet |
Takes in a MemBlock and parses it as a Udp Packet.
|
|
UdpPacket ( int SourcePort, int DestinationPort, ICopyable Payload ) : Brunet |
Creates a Udp Packet given the source port, destination port and the payload.
|
public UdpPacket ( MemBlock packet ) : Brunet | ||
packet | MemBlock | The MemBlock containing the Udp Packet |
return | Brunet |
public UdpPacket ( int SourcePort, int DestinationPort, ICopyable Payload ) : Brunet | ||
SourcePort | int | The packets originating port |
DestinationPort | int | The packets destination port |
Payload | ICopyable | The data for the packet. |
return | Brunet |