Platforms to show: All Mac Windows Linux Cross-Platform

Back to DNSServiceBaseMBS class.

DNSServiceBaseMBS.Available as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS Network Plugin 10.1 ✅ Yes ✅ Yes ❌ No ✅ Yes All
Whether Bonjour (zeroconfig) is installed and useable.

If this function returns true, all the needed stuff is installed and the function have been loaded.

DNSServiceBaseMBS.ConstructFullName(Service as string, regtype as string, domain as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS Network Plugin 10.1 ✅ Yes ✅ Yes ❌ No ✅ Yes All
Concatenate a three-part domain name (as returned by the above callbacks) into a properly-escaped full domain name.

Note that events in the above functions ALREADY ESCAPE strings where necessary.

service: The service name - any dots or backslashes must NOT be escaped. May be "" (to construct a PTR record name, e.g. "_ftp._tcp.apple.com.").
regtype: The service type followed by the protocol, separated by a dot (e.g. "_ftp._tcp").
domain: The domain name, e.g. "apple.com.". Literal dots or backslashes, if any, must be escaped, e.g. "1st\. Floor.apple.com."

Returns 0 on success, -1 on error.

DNSServiceBaseMBS.GetDaemonVersion as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS Network Plugin 10.1 ✅ Yes ✅ Yes ❌ No ✅ Yes All
Queries the version of the daemon.

Value is zero on any error.

DNSServiceBaseMBS.Initialize

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS Network Plugin 15.1 ❌ No ✅ Yes ❌ No ❌ No All
Initializes API.

On Windows the plugin calls this internally at startup of application.
Now if your app installs Bonjour while running, you can call this method to let the plugin load the bonjour dll.
After successful call, the available functions return true.

Does nothing on Mac OS X or Linux.

The items on this page are in the following plugins: MBS Network Plugin.


The biggest plugin in space...