Platforms to show: All Mac Windows Linux Cross-Platform

Back to DNSSocketAddressMBS class.

DNSSocketAddressMBS.address as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DNS MBS MacOSX Plugin 9.7 ✅ Yes ❌ No ❌ No ✅ Yes All
The address value.
Example
dim r as DNSReplyMBS = DNSUtilMBS.Lookup("www.apple.com", DNSUtilMBS.ClassINTERNET, DNSUtilMBS.TypeA)

if r<>Nil then
MsgBox "Server.address: "+r.Server.address
end if

This is IPv4 or IPv6.
(Read and Write property)

DNSSocketAddressMBS.data as Memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DNS MBS MacOSX Plugin 9.7 ✅ Yes ❌ No ❌ No ✅ Yes All
The raw data of this socket address.

(Read and Write property)

DNSSocketAddressMBS.Family as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DNS MBS MacOSX Plugin 9.7 ✅ Yes ❌ No ❌ No ✅ Yes All
The family value.
Example
dim r as DNSReplyMBS = DNSUtilMBS.Lookup("www.apple.com", DNSUtilMBS.ClassINTERNET, DNSUtilMBS.TypeA)

if r<>Nil then
MsgBox "Server.Family: "+str(r.Server.Family)
end if

(Read and Write property)

DNSSocketAddressMBS.Port as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DNS MBS MacOSX Plugin 9.7 ✅ Yes ❌ No ❌ No ✅ Yes All
The port for this socket address.
Example
dim r as DNSReplyMBS = DNSUtilMBS.Lookup("www.apple.com", DNSUtilMBS.ClassINTERNET, DNSUtilMBS.TypeA)

if r<>Nil then
MsgBox "Server.Port: "+str(r.Server.Port)
end if

(Read and Write property)

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


The biggest plugin in space...