Anonymous - 2001-09-25

I tried using a system call to invoke ping.  Works fine in zthreads/pthreads, hangs in CommonC++ threads.  I also tried breaking the system call down to the fork, exec, and wait, it appears to send 2 pings and never get out of the wait

  execl("/bin/bash", "bash", -c, "/bin/ping -c 1 -w 6 xxxx") where xxxx is the IP addresss, -c 1 says to send 1 ping, -w 6 says to wait 6 seconds or until the 1 ping is received.

I also tried invoking /bin/ping directly in the execl, same result.

Using RedHat 7.1, CommonC++ 1.4.1

Any ideas or alternative suggestions?  I'm basically just trying to verify that I can communicate over the ethernet port, don't care about time or route stats.