icmp ping ver 2 error

hi my board uno r3 and shild ether w100

i needed a code for my board ping a device if status ok pin 7 Low else time out >=75 pin 7 high

My thanks to you and the work, you can either give the hex file
Thank you very much

icmp ping ver 2 not work

my error

Arduino: 1.6.5 Hourly Build 2015/05/26 04:01 (Windows 8.1), Board: "Arduino Ethernet"

Build options changed, rebuilding all

Ping:26: error: no matching function for call to 'ICMPPing::ICMPPing(SOCKET&, uint16_t)'
Ping.ino:26:51: note: candidates are:
In file included from Ping.ino:17:0:
C:\Users\Kankash\Documents\Arduino\libraries\ICMPPing/ICMPPing.h:28:2: note: ICMPPing::ICMPPing(SOCKET)
ICMPPing(SOCKET s); // construct an ICMPPing object for socket s
^
C:\Users\Kankash\Documents\Arduino\libraries\ICMPPing/ICMPPing.h:28:2: note: candidate expects 1 argument, 2 provided
C:\Users\Kankash\Documents\Arduino\libraries\ICMPPing/ICMPPing.h:25:7: note: ICMPPing::ICMPPing(const ICMPPing&)
class ICMPPing
^
C:\Users\Kankash\Documents\Arduino\libraries\ICMPPing/ICMPPing.h:25:7: note: candidate expects 1 argument, 2 provided
Ping.ino: In function 'void loop()':
Ping:37: error: 'ICMPEchoReply' was not declared in this scope
Ping:37: error: expected ';' before 'echoReply'
Ping:38: error: 'echoReply' was not declared in this scope
Ping:38: error: 'SUCCESS' was not declared in this scope
Multiple libraries were found for "Ethernet.h"

Used: D:\arduino-nightly-windows\arduino-nightly\libraries\Ethernet

Not used: C:\Users\Kankash\Documents\Arduino\libraries\Ethernet-master

no matching function for call to 'ICMPPing::ICMPPing(SOCKET&, uint16_t)'

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

Don't start a new thread when you won't answer questions in your other threads.

my error for this line

ICMPPing ping(pingSocket, (uint16_t)random(0, 255));

and i changed this line

byte pingAddr(74,125,26,147); // ip address to ping
i use arduino software 1.6.5

icmp ping ver 2 fixed ?

Thanks for your answer
I need a program that will ping a device or tar mention being able to tell if something is not working and why Ardynv instance. Please note Hara.
Have you completed the program.
Can be used on the Snmp Ardynv
Should I use the ARm . Bnanpi
Do not respond to the ping Ardiono Where is my problem.

خیلی ممنونم اگر زودتر جواب بدین