Batch, 53 bytes
@(ping -4 %1&echo g 255.255.255.255 w)|find/c"g %1 w"
Disconnect your Internet connection first to avoid the standard loophole.
I can't find information on how to avoid ^"
.
@(ping -4 %1&echo g 255.255.255.255 w)|find/c"g %1 w"
Disconnect your Internet connection first to avoid the standard loophole.
I can't find information on how to avoid ^"
.