By Host Name Prerequisites Network or DUN connection. With Visual Basic applications expanding more into the enterprise, basic networking functionality often needs to be duplicated by the application. Using the routine here, you will be able to ping any IP address passed.
Ping is a tool that helps to verify IP-level connectivity.
When troubleshooting, the ping command is used to send an ICMP echo request to a target host name or IP address. You can also use the ping utility to isolate network hardware problems and incompatible configurations. It is usually best to verify that a route exists between the local computer and a network host by first using ping and the IP address of the network host to which you want to connect. First try pinging the IP address of the target host to see if it will respond, because this is the simplest case. The concept in the VB implementation is to pass to a routine the address to ping, and a message under 32 bytes that the ping should return if successful.