nabto_client_mdns_resolver_init_listener()

DESCRIPTION

Init listener as mDNS resolver

Init an mDNS result listener. If the subtype is non null or the non empty string the mDNS subtype ._sub._nabto._udp.local is located instead of the mDNS service _nabto._udp.local.

DECLARATION

NABTO_CLIENT_DECL_PREFIX NabtoClientError NABTO_CLIENT_API
nabto_client_mdns_resolver_init_listener(NabtoClient* client, NabtoClientListener* listener, const char* subtype)

PARAMETERS

client:
[in] The client.
listener:
[in] The listener.
subtype:
[in] The subtype to find.

RETURNS

NABTO_CLIENT_EC_OK if ok.