Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

DNSServiceAddrInfoMBS class

Super class: DNSServiceBaseMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Network MBS Network Plugin 15.0 Yes Yes No Yes No
Function: The class to query IP Address for hostname asynchronously.
Notes:
Queries for the IP address of a hostname by using either Multicast or Unicast DNS.
Subclass of the DNSServiceBaseMBS class.

Feedback, Comments & Corrections

  • 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 which use this class:


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


DNSRTRecordMBS   -   DNSServiceBaseMBS




Links
MBS Xojo PDF Plugins