mnGetPortMapEnabled

This returns the 0 if the specified port map is disabled, 1 if it is enabled and -1 if an error occurred.

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.

Parameters

unsigned int PortMapID: the ID of the port map that the command should use.

Returns (Integer)

0 if the specified port map is disabled

1 if the specified port map is enabled

-1 if an error occurred.

Present in

DBP

C++

.Net




This page is in the following sections:
(1) Universal Plug and Play
(0) DarkNet Help