public void isConnected(String name, int port)
    {
        for (int i = 0; i < 8; i++)
        {
            if (this.roomplayer[i].equals(name))
            {
                this.roomport[i] = port;
                this.writeRoomAll(this.getConnectedPacket());
                return;
            }
        }

    }