I tracerouted some computers on my home network and all were only 1 hop away. I sort of expected 2 hops because I thought maybe packets need to go through the router or gateway.
Surely this can't always be the case, right? There's nothing to guarantee that two arbitrary computers using the same wi-fi are within range of each other -- they can both be just in range of the access point from different directions.
If they aren't in range of each other, how does it work? If computer A wants to connect to computer B, does A first try directly, and failing that, then tries with two hops through the access point?