Platforms to show: All Mac Windows Linux Cross-Platform
DNSServiceRegisterMBS class
Super class: DNSServiceBaseMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Network | MBS Network Plugin | 5.0 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
This class allows you to register names on the local network using Bonjour.
This class requires Mac OS X 10.3 or Windows (with installed Bonjour support and the dnssd.dll) to work.
Use DNSServiceDiscoveryBrowseMBS if you want to support Mac OS X 10.2.
common error codes:
kDNSServiceErr_NoError | = 0 |
kDNSServiceErr_Unknown | = -65537 (=&hFFFE FFFF) |
kDNSServiceErr_NoSuchName | = -65538 |
kDNSServiceErr_NoMemory | = -65539 |
kDNSServiceErr_BadParam | = -65540 |
kDNSServiceErr_BadReference | = -65541 |
kDNSServiceErr_BadState | = -65542 |
kDNSServiceErr_BadFlags | = -65543 |
kDNSServiceErr_Unsupported | = -65544 |
kDNSServiceErr_NotInitialized | = -65545 |
kDNSServiceErr_AlreadyRegistered | = -65547 |
kDNSServiceErr_NameConflict | = -65548 |
kDNSServiceErr_Invalid | = -65549 |
kDNSServiceErr_Incompatible | = -65551 (client library incompatible with daemon) |
kDNSServiceErr_BadinterfaceIndex | = -65552 |
- event ServiceRegistration(flags as Integer, errorcode as Integer, Name as string, RegType as string, Domain as string)
- 4 methods
- method AddRecord(rrType as Integer, TXTRecord as string, ttl as Integer)
- method Register(Flags as Integer, interfaceIndex as Integer, servicename as string, servicetype as string, domain as string, host as string, port as Integer, txtRecord as string) as boolean
- method RemoveRecord
- method UpdateRecord(TXTRecord as string, ttl as Integer)
Super class DNSServiceBaseMBS
- 2 properties
- 2 methods
- 4 shared methods
- shared method Available as boolean
- shared method ConstructFullName(Service as string, regtype as string, domain as string) as string
- shared method GetDaemonVersion as Integer
- shared method Initialize
- 87 constants
This class has no sub classes.
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS Network Plugin.
DNSServiceQueryRecordMBS - DNSServiceRegisterRecordMBS