Platforms to show: All Mac Windows Linux Cross-Platform

AvahiRecordBrowserMBS class   New in 25.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Network MBS Linux Plugin 25.1 ❌ No ❌ No ✅ Yes ❌ No Desktop, Console & Web
The class for a record browser.
  • 5 events
    • event AllForNow(type as Integer)
    • event CacheExhausted(type as Integer)
    • event Failure(error as string, errorcode as integer)
    • event ServiceFound(InterfaceIndex as integer, protocol as Integer, name as string, clazz as Integer, type as Integer, RecordData as MemoryBlock, flags as integer)
    • event ServiceRemoved(InterfaceIndex as integer, protocol as Integer, name as string, clazz as Integer, type as Integer, RecordData as MemoryBlock, flags as integer)
  • 2 properties
  • 3 methods
    • method Constructor(client as AvahiClientMBS)
    • method Destructor
    • method Resolve(InterfaceIndex as integer, Protocol as integer, name as string, Clazz as Integer, Type as Integer, flags as integer = 0) as boolean
  • 14 constants

Constants

Constant Value Description
kInterfaceAny -1 Special constant to use any interface available. Otherwise you would pass the index of the network interface you want to use.

Lookup Flags

Constant Value Description
kLookupNoAddress 8 When doing service resolving, don't lookup A/AAAA record.
kLookupNoTxt 4 When doing service resolving, don't lookup TXT record.
kLookupUseMulticast 2 Force lookup via multicast DNS.
kLookupUseWideArea 1 Force lookup via wide area DNS.

IP Protocols

Constant Value Description
kProtocolAny -1 Any protocol.
kProtocolIPv4 0 Only IPv4.
kProtocolIPv6 1 Only IPv6.

Result Flags

Constant Value Description
kResultCached 1 This response originates from the cache.
kResultLocal 8 This record/service resides on and was announced by the local host. Only available in service and record browsers and only on Found event.
kResultMultiCast 4 This response originates from multicast DNS.
kResultOurOwn 16 This service belongs to the same local client as the browser object. Only available in avahi-client, and only for service browsers and only on Found event.
kResultStatic 32 The returned data has been defined statically by some configuration option.
kResultWideArea 2 This response originates from wide area DNS.

This class has no sub classes.

Blog Entries

Release notes

  • Version 25.1
    • Added AvahiAddressResolverMBS, AvahiEntryGroupMBS, AvahiHostNameResolverMBS and AvahiRecordBrowserMBS classes.

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


AvahiHostNameResolverMBS   -   AvahiResolverMBS


The biggest plugin in space...