I was trying to test the performance of my wireless network by pinging devices such as phones and laptops that are connected to it.
It turns out that I get very high pings (~100-200ms) when I try to ping my iphone and surface pro tablet. On the other hand, if I ping google.com, it is always around ~20ms. It doesn't seem to be the fault of the router as pinging the router gives me ~1ms.
How can a server that is kilometres away respond faster than a device that is sitting next to me?