Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

DNSServiceBaseMBS.Available as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Network MBS Network Plugin 10.1 Yes Yes No Yes No
Function: Whether Bonjour (zeroconfig) is installed and useable.
Notes: If this function returns true, all the needed stuff is installed and the function have been loaded.

Feedback, Comments & Corrections

DNSServiceBaseMBS.ConstructFullName(Service as string, regtype as string, domain as string) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Network MBS Network Plugin 10.1 Yes Yes No Yes No
Function: Concatenate a three-part domain name (as returned by the above callbacks) into a properly-escaped full domain name.
Notes:
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.

Feedback, Comments & Corrections

DNSServiceBaseMBS.GetDaemonVersion as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Network MBS Network Plugin 10.1 Yes Yes No Yes No
Function: Queries the version of the daemon.
Notes: Value is zero on any error.

Feedback, Comments & Corrections

DNSServiceBaseMBS.Initialize
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Network MBS Network Plugin 15.1 No Yes No Yes, Windows only No
Function: Initializes API.
Notes:
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.

Feedback, Comments & Corrections

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





Links
MBS Xojo PDF Plugins