Method

RebonjourClientbrowse

Declaration

RebonjourBrowser*
rebonjour_client_browse (
  RebonjourClient* self,
  int ifindex,
  const char* service_type,
  const char* domain,
  RebonjourLookupFlags flags
)

Description

Creates a browser for service_type.

Parameters

ifindex

Type: int

Platform network interface index, or 0 for any interface.

service_type

Type: const char*

A DNS-SD service type such as “_ipp._tcp”.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
domain

Type: const char*

Browsing domain, or NULL for “local”.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
flags

Type: RebonjourLookupFlags

Lookup flags.

Return value

The caller of the method takes ownership of the returned data, and is responsible for freeing it.