is there a way to incorparate the ping function into a app what i want to do is when the user trys to connect it opens a window and displays
1, pinging "ipaddress"
and if succesfull displays connecting to host ie "ipadress" from above
but if no ping return says connection failed
but i dont know how to do this could someone point me in the right direction please