def maxLinkBitrates()
            joinThread()
            up, down = 0, 0
            begin
                up_p = MiniUPnP.new_uintp()
                down_p = MiniUPnP.new_uintp()
                if MiniUPnP.UPNP_GetLinkLayerMaxBitRates(@urls.controlURL_CIF,
                                                         @data.servicetype_CIF,
                                                         down_p,up_p) != 0 then
                    raise UPnPException.new, "Error while retriving maximum link bitrates."
                end
                up = MiniUPnP.uintp_value(up_p)
                down = MiniUPnP.uintp_value(down_p)
            rescue
                raise
            ensure
                MiniUPnP.delete_uintp(up_p)
                MiniUPnP.delete_uintp(down_p)
            end
            return down,up
        end
def maxLinkBitrates()
            joinThread()
            up, down = 0, 0
            begin
                up_p = MiniUPnP.new_uintp()
                down_p = MiniUPnP.new_uintp()
                if MiniUPnP.UPNP_GetLinkLayerMaxBitRates(@urls.controlURL_CIF,
                                                         @data.servicetype_CIF,
                                                         down_p,up_p) != 0 then
                    raise UPnPException.new, "Error while retriving maximum link bitrates."
                end
                up = MiniUPnP.uintp_value(up_p)
                down = MiniUPnP.uintp_value(down_p)
            rescue
                raise
            ensure
                MiniUPnP.delete_uintp(up_p)
                MiniUPnP.delete_uintp(down_p)
            end
            return down,up
        end
Returns the maximum bitrates detected from the router (may be an
 ADSL router) The result is in bytes/s.