S SAM ShamsulBahrim Member Licensed User Longtime User Aug 6, 2015 #1 Hi, I just wanted to pop the ip address (by Msgbox) of a resolved DNS name (e.g www.yahoo.com , etc). Someone has the sample code for resolving the DNS name into an ip address? TQ SAM
Hi, I just wanted to pop the ip address (by Msgbox) of a resolved DNS name (e.g www.yahoo.com , etc). Someone has the sample code for resolving the DNS name into an ip address? TQ SAM
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2015 #2 You can use Socket.ResolveHost. This method is deprecated because it blocks the main thread. You can still use it if you apply this workaround: Workaround the NetworkOnMainThread exception Upvote 0
You can use Socket.ResolveHost. This method is deprecated because it blocks the main thread. You can still use it if you apply this workaround: Workaround the NetworkOnMainThread exception