This searches for a port map with the
specified protocol and external port, and returns 1 if it is found.
This should be used in conjunction with
mnFindPortMap to search for port maps. It is not advised to use mnFindPortMap
by itself because 0 is returned when a port map is not found but 0 can
also be the ID of a port map.
Port map IDs range from 0 to 1 less than
the number of found port maps (returned by mnGetPortMapAmount).
mnStartNAT must be used before this command.
char * Protocol: the protocol to search for.
long ExternalPort: the external port to search for.
0 if a port map with the specified protocol and external port does not exist
1 if a port map with the specified protocol and external port does exist
-1 if an error occurred
DBP
C++
.Net