Skip to main content

mergBonjourSearch

Type​

function

Summary​

Create a search object and start searching for a bonjour service

Syntax​

mergBonjourSearch(<pType>, [<pDomain>])

Description​

Create a search object and start searching for a bonjour service

Parameters​

NameTypeDescription

pType

The pType parameter must contain both the service type and transport layer information. To ensure that the mDNS responder searches for services, rather than hosts, make sure to prefix both the service name and transport layer name with an underscore character (“_”). For example, to search for an HTTP service on TCP, you would use the type string “_http._tcp.“. Note that the period character at the end is required.

pDomain

(optional with "" default) The pDomain parameter can be an explicit domain name, the generic local domain "local." (note trailing period, which indicates an absolute name), or the empty string (""), which indicates the default registration domains. Usually, you pass in an empty string.

Value​

NameTypeDescription

return

a pointer to the search in memory

Compatibility and Support​

Introduced

LiveCode 8.0

OS

ios

mac

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?