UdpHeader.UdpHeader C# (CSharp) Method

UdpHeader() public method

Simple constructor for the UDP header.
public UdpHeader ( ) : System
return System
    public UdpHeader()
        : base()
    {
        srcPort = 0;
        destPort = 0;
        udpLength = 0;
        udpChecksum = 0;

        ipv6PacketHeader = null;
        ipv4PacketHeader = null;
    }