LookupDNS

if System.Network.IsConnected then
MsgBox System.Network.LookupDNSAddress(me.Cell(me.ListIndex,0))
else
MsgBox “You’re not connected.”
end if

The message is the IP address, not the domain name.
You can have and example at
stat.123sublime.com

//MsgBox System.Network.LookupIPAddress(“wikipedia.org”)
Replace the msgbox by IPaddress run properly.

Does I have to add something else?

Alain

It looks like it’s an old bug from 2008 (<https://xojo.com/issue/1010>).

Works on W32, fails on Mac. There’s a workaround for OSX in the feedback.

OK, I’ll take a look.

Alain