I don't have a proper photograph of the wiring between them, but it's simply just the same pieces on the two sockets connected.
That is indeed the way I use to connect the switch to the amp.
All four pairs give the same result, AND all four pairs do work when I use them for putting signal through, so bass in outside socket, corresponding socket into pedal, pedal into other inside socket, corresponding socket into amp... works for all of the pairs.
I have tried cables of which I'm sure they work, and they are all just instrument jack-jack cables.