Link to home
Start Free TrialLog in
Avatar of faceless
faceless

asked on

Use ping to check if ip is alive?

Hi!
  I have a C script using ping to check if an ip address is alive... i'm using this code:

  int result;
  result = system("ping -c 2 ipaddresshere");

but i can't get the correct value of result...

can you give me another way of making a C script so that it will view to me if an ip is alive through an html?

please help me!!!

Faceless
ASKER CERTIFIED SOLUTION
Avatar of chump
chump

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial