Constructor
TraversityUpnpDiscoverernew_custom
since: 0.1
Declaration [src]
TraversityDiscoverer*
traversity_upnp_discoverer_new_custom (
const char* host_address,
int host_port
)
Description [src]
Creates a new TraversityDiscoverer that supports Universal Plug and
Play with the given host_address and host_port.
Available since: 0.1
Parameters
host_address-
Type:
const char*The custom hostname or IP address to use.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. host_port-
Type:
intThe custom UDP port number to use.
Return value
Type: TraversityDiscoverer
The new discoverer.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |