ARDUINO UNO WITH WIFI SHIELD

I can connect to my wifi router. I want to ping 1 IP inside the network and if i have a successfull reply i want to have a LED set to ON. It is possible to do that with ARDUINO UNO & ARDUINO WIFI SHIELD?

This is for monitoring if a device fails. Please help

yes it is possible

Juraj:
yes it is possible

can you help me with the code?

the shield is original Arduino WiFi Shield with HDG204? this one Accessories — Arduino Official Store ?

yes, is the original

the use the WiFi library and see the examples of the WiFi library in IDE Examples menu

I already dit it, but there is no example for this. I just want after a successfull PING to light a LED, there is no example for Arduino wifi shield

ping is handled by the shield and is not forwarded to sketch. Ping a Specific Port - Server Fault

you can start WiFiServer on port 23 and talk to it with telnet client

I did the example with wifi server... and its ok, i can ping the arduino, but this is not the think that i want to build

I want to ping from arduino wifi shield to my windows server and if PING is successfull, then return a value in arduino and to set a pin of arduino to HIGH, so i will be able to light the LED.

billarvan:
I did the example with wifi server... and its ok, i can ping the arduino, but this is not the think that i want to build

I want to ping from arduino wifi shield to my windows server and if PING is successfull, then return a value in arduino and to set a pin of arduino to HIGH, so i will be able to light the LED.

you can't send ping from sketch. the library handles only TCP and UDP

Is any chance to do that with other shield?

billarvan:
Is any chance to do that with other shield?

WiFi101 has WiFi.ping() WiFi101 - Arduino Reference
Accessories — Arduino Official Store
Overview | Adafruit WINC1500 WiFi Shield for Arduino | Adafruit Learning System

esp8266 arduino core has ESP8266Ping library

Thanks, i ll try it