protected void writeRoomAll(Packet pack)
    {
        for (int i = 0; i < 8; i++)
        {
            Packet packet = pack;
            if (this.roomsocks[i] != null)
            {
                this.roomsocks[i].write(packet.getHeader());
                this.roomsocks[i].flush();
                this.roomsocks[i].write(packet.getPacket());
                this.roomsocks[i].flush();
            }
        }
    }