Platforms to show: All Mac Windows Linux Cross-Platform

DNSServiceAddrInfoMBS class

Super class: DNSServiceBaseMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Network MBS Network Plugin 15.0 ✅ Yes ✅ Yes ❌ No ✅ Yes All
The class to query IP Address for hostname asynchronously.

Queries for the IP address of a hostname by using either Multicast or Unicast DNS.
Subclass of the DNSServiceBaseMBS class.

  • event ServiceAddrInfo(Flags as Integer, InterfaceIndex as Integer, ErrorCode as Integer, AddressFamily as Integer, IP as string, SockAddr as MemoryBlock, HostName as string, ttl as Integer)
  • method AddrInfo(InterfaceIndex as Integer, protocol as Integer, HostName as string) as boolean
  • shared method Available as boolean
  • 5 constants

Address families

Constant Value Description
kAddressFamilyIPv4 2 IPv4 protocol
kAddressFamilyIPv6 30 IPv6 protocol

Protocols

Constant Value Description
kProtocolAuto 0 Automatic decide.
kProtocolIPv4 1 IPv4 protocol
kProtocolIPv6 2 IPv6 protocol

Super class DNSServiceBaseMBS

This class has no sub classes.

Some examples using this class:

Blog Entries

Release notes


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


DNSRTRecordMBS   -   DNSServiceBaseMBS


The biggest plugin in space...