No, it has nothing to do with submarines. It's how they found out that ballot computers were online during election, which they shouldn't have been.
Remember Q post: only one ping
With the "ping" command you send a short signal to a given computer address and look if it's coming back.
One ping only.