public Packet getConnectedPacket()
    {
        Packet packet = new Packet();
        packet.addHeader((byte) 0x39, (byte) 0x27);
        for (int i = 0; i < 8; i++)
        {
            if (this.roomsocks[i] != null)
            {
                packet.addInt(this.roomport[i], 2, true);
            }
            else
            {
                packet.addByte2((byte) 0x00, (byte) 0x00);
            }
        }
        return packet;
    }