Constructor
GSSDPClientnew
Declaration [src]
GSSDPClient*
gssdp_client_new (
const char* iface,
GError** error
)
Description [src]
Creates a GSSDP client on iface
. GSSDPClient will pick the address it finds
suitable for using.
Using this utility function, the created client will be using UDA 1.0 and IPv4 only.
Parameters
iface |
const char* |
The name of the network interface, or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | GSSDPClient |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . |