Platforms to show: All Mac Windows Linux Cross-Platform

DNSServiceDiscoveryRegisterMBS class   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Network MBS MacOSX Plugin 5.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
This item is deprecated and should no longer be used. You can use DNSServiceRegisterMBS instead.
A class for Apple's implementation of ZeroConfig named Bonjour.

This class allows you to register names on the local network using Bonjour.

Common error codes for Rendevouz:

kDNSServiceDiscoveryUnknownErr -65537
kDNSServiceDiscoveryNoSuchNameErr-65538
kDNSServiceDiscoveryNoMemoryErr -65539
kDNSServiceDiscoveryBadParamErr -65540
kDNSServiceDiscoveryBadReferenceErr -65541
kDNSServiceDiscoveryBadStateErr -65542
kDNSServiceDiscoveryBadFlagsErr -65543
kDNSServiceDiscoveryUnsupportedErr -65544
kDNSServiceDiscoveryNotInitializedErr-65545
kDNSServiceDiscoveryNoCache -65546
kDNSServiceDiscoveryAlreadyRegistered-65547
kDNSServiceDiscoveryNameConflict -65548
kDNSServiceDiscoveryInvalid -65549
kDNSServiceDiscoveryMemFree -65792

But several other Mac OS error codes may also be there.
This class requires Mac OS X 10.2 to work. Use DNSServiceRegisterMBS if you want to support Mac OS X 10.3 and Windows.

Not available on Mac OS X 10.9.

  • event ServiceRegistration(errorcode as Integer)
  • 2 properties
    • property Handle as Integer
    • property Text as String
  • 5 methods
    • method Available as boolean
    • method Close
    • method Register(servicename as string, servicetype as string, domain as string, port as Integer, text as string) as boolean
    • method Running as boolean
    • method UpdateText(data as string, ttl as Integer) as Integer

This class has no sub classes.

Some examples using this class:

Blog Entries


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


DNSServiceDiscoveryDomainEnumerationMBS   -   DNSServiceDiscoveryResolveMBS


The biggest plugin in space...