Lorrie...
After writing this below, I then found the ping source code (Its attached), but left the main message anyway, hope this helps.
-----------------------------
It all depends on what you are trying to ping on the other end.
The SDK does include a class for Ping (on XP only), but there maybe easier ways to do it. (From Aug 2001 SDK onwards, do a Topic Search for PING, there is only one result)
The PING Application is only sending a ICMP6_ECHO_REQUEST datagram to elicit an ICMP6_ECHO_REPLY from a host or gateway (I stole that without shame from one of the links below).
In the links below, you should find some more information on how to achieve this, failing that, the old way of piping the result of a ping into a file and verifying th
at from within CVI (old dirty way),
but using the source code from these links, it should be easy to construct your own 'ping'. (But as I mentioned above, it does rely on whats on the other end of the ping).
As a sad note, the first link is to the site of the guy (Mike Muuss), who sadly died in a car crash in 2000. I never really knew that much about the history or details of ping before you asked your question. It got me thinking, anyway, I hope there is some useful information on the following links,
I have an easier solution on the tip of my tongue and if it comes to me, I shall post again,
Chris
http://ftp.arl.mil/~mike/ping.html
http://www.ping127001.com/pingpage.htm
http://www.freebsd.org/cgi/man.cgi?query=ping6&sektion=8&apropos=0&manpath=FreeBSD+4.3-RELEASE
Attached samples were obtained from here:
http://www.sockaddr.com/ExampleSourceCode.html