public RouterPacket(byte[] buf, int length, InetAddress address, int port, int time, int sequence)
    {
        //set the sequence number of the packet
        this.sequence = sequence;
        //set the time created
        timeCreated = time;
        //create the packet
        dPacket = new DatagramPacket(buf,length,address,port);
    }