protected void send(Packet pack)
    {
        String[] packet = new String[2];
        packet[0] = pack.getHeader();
        packet[1] = pack.getPacket();
        this.socketOut.write(packet[0]);
        this.socketOut.flush();
        this.socketOut.write(packet[1]);
        this.socketOut.flush();
    }