mnGetPortDescription

This returns the description of the specified 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.

C++ users: the memory for the returned string is managed by DarkNet and is guaranteed to remain unchanged and available until mnUpdateNAT or mnFinishNAT is used. This means that you do not need to deallocate the memory.

Parameters

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

Returns (Char *)

The description if no error occurred.

An empty string if an error occurred.

Present in

DBP

C++

.Net




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