
This program will resolve a host name (ex. www.vbcoders.com) to it's IP address. I've seen some code to do this here on VBC, but they all seems like a hassle so I made a way to do it quickly and easily. The only downfall to my version is that you have to be able to establish a connection with the host in order to get their IP, so it may not work for inactive domain names etc, but then why would you want their IP address anyhow? Enjoy, and leave feedback if you find this useful!
Inputs
A Host Name
Assumes
You have to be able to establish a connection with the host in order to get their IP, so it may not work for inactive domain names etc, but then why would you want their IP address anyhow?
Returns
A Host's IP Address