Skip to main content

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 ^".

l4m2
  • 28.5k
  • 2
  • 25
  • 104