Function

Purpleupnp_discover

Declaration [src]

void
purple_upnp_discover (
  PurpleUPnPCallback cb,
  gpointer cb_data
)

Description [src]

Sends a discovery request to search for a UPnP enabled IGD that contains the WANIPConnection service that will allow us to receive the public IP address of the IGD, and control it for forwarding ports. The result will be cached for further use.

Parameters

cb PurpleUPnPCallback
 

An optional callback function to be notified when the UPnP discovery is complete.

cb_data gpointer
 

Extra data to be passed to the callback.

 The argument can be NULL.
 The data is owned by the caller of the function.