def deletePortMapping(nport,proto)
            checkProto(proto)
            checkPort(nport)
            joinThread()
            r = MiniUPnP.UPNP_DeletePortMapping(@urls.controlURL,@data.servicetype,
                                               nport.to_s,proto)
            if r != 0 then
                raise UPnPException.new , "Failed delete mapping: #{code2error(r)}."
            end
        end
def deletePortMapping(nport,proto)
            checkProto(proto)
            checkPort(nport)
            joinThread()
            r = MiniUPnP.UPNP_DeletePortMapping(@urls.controlURL,@data.servicetype,
                                               nport.to_s,proto)
            if r != 0 then
                raise UPnPException.new , "Failed delete mapping: #{code2error(r)}."
            end
        end
Delete the port mapping for specified network port and protocol