def portMapping(nport,proto)
            checkProto(proto)
            checkPort(nport)
            if nport.to_i == 0 then
                raise ArgumentError, "Port must be an int value and greater then 0."
            end
            joinThread()
            client = getCString()
            lport = getCString()
            if MiniUPnP.UPNP_GetSpecificPortMappingEntry(@urls.controlURL,
                                     @data.servicetype, nport.to_s,proto,
                                     client,lport) != 0 then
                raise UPnPException.new, "Error while retriving the port mapping."
            end
            return client.rstrip, lport.rstrip.to_i
        end
def portMapping(nport,proto)
            checkProto(proto)
            checkPort(nport)
            if nport.to_i == 0 then
                raise ArgumentError, "Port must be an int value and greater then 0."
            end
            joinThread()
            client = getCString()
            lport = getCString()
            if MiniUPnP.UPNP_GetSpecificPortMappingEntry(@urls.controlURL,
                                     @data.servicetype, nport.to_s,proto,
                                     client,lport) != 0 then
                raise UPnPException.new, "Error while retriving the port mapping."
            end
            return client.rstrip, lport.rstrip.to_i
        end
Get the mapping registered for a specific port and protocol