-u switches netcat from TCP to UDP mode. Useful for testing UDP connectivity, which doesn't have connection state like TCP — you have to actually send a packet to verify the port is reachable.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.