Ping problem

This is a discussion on Ping problem within the C++ Programming forums, part of the General Programming Boards category; Im intergrating alot of stuff in my program and I wanna make a ping thing inside of it, so I ...

Ok everything works now! Thanks alot. Now since I can use that string header, It can solve me alot of problems. Earlier I couldnt figure out how to get multiple values into one char type :/. Im so nub.

Ok, well the program is suppose to make it easier for me to manage my website, and computer. Im also trying to impliment Winsock with it, so I can remotely upload files to my comp kinda like FTP. The ping is used for seeing if my server is up, so if for some reason im disconnected I can see if it went down, or its a software problem. format is self explanitory. Putty is a good shell program http://www.chiark.greenend.org.uk/~s.../download.html
all I have to do is type 2, and putty starts up so I can shell my server/comp, ect. Just makes it easier for me.