MiniUPnP Documentation

Anywhere I can find the MiniUPnP documentation ?

For example, some documents describe the parameters of this function.

LIBSPEC int
UPNP_AddPortMapping(const char * controlURL, const char * servicetype,
                    const char * extPort,
                    const char * inPort,
                    const char * inClient,
                    const char * desc,
                    const char * proto,
                    const char * remoteHost,
                    const char * leaseDuration);
+3
source share
1 answer

abstracts are methods defined by the UPnP standard. See http://upnp.org/specs/gw/UPnP-gw-WANIPConnection-v2-Service.pdf for UPNP_AddPortMapping.

For more details on how to use libminiupnpc, see the upnpc.c sample program. https://github.com/miniupnp/miniupnp/blob/master/miniupnpc/upnpc.c

+1
source

All Articles