[#StartMapPort]
= StartMapPort
:mrdocs:

Start the port mapping thread that requests a port forward from the gateway&period;

== Synopsis

Declared in `&lt;mapport&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
StartMapPort(bool enable);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *enable*
| Whether to enable NAT&hyphen;PMP&sol;PCP port mapping&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
