Platforms to show: All Mac Windows Linux Cross-Platform

Back to DNSServiceDiscoveryRegisterMBS class.

DNSServiceDiscoveryRegisterMBS.Available as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS MacOSX Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Whether Bonjour (zeroconfig) is installed.

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

DNSServiceDiscoveryRegisterMBS.Close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS MacOSX Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Stops the current request and releases all used memory.

DNSServiceDiscoveryRegisterMBS.Register(servicename as string, servicetype as string, domain as string, port as Integer, text as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS MacOSX Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Register a named service with DNS Service Discovery.

servicename:
The name of this service instance (e.g. "Steve's Printer")

servicetype:
The service type (e.g. "_printer._tcp."
See RFC 2782 (DNS SRV) and this website:
http://www.iana.org/assignments/port-numbers

domain:
The domain in which to register the service (e.g. "apple.com.")

port:
The local port on which this service is being offered (in network byte order)

text:
Optional protocol-specific additional information

Returns true if successfull.
The ServiceRegistration event may be called till this registration request is closed.

DNSServiceDiscoveryRegisterMBS.Running as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS MacOSX Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
True if there is a running request.

DNSServiceDiscoveryRegisterMBS.UpdateText(data as string, ttl as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS MacOSX Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Changes the TXT Record.

data is the TXT Record composed of Pascal Strings.
ttl = time to live.
Returns an error code. (0=success)

Some examples using this method:

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


The biggest plugin in space...