Netcat command options These are the main options in Netcat: -l: This option tells the Netcat to be in listen mode. -u: This shifts Netcat from TCP(default) to UDP mode. -p: For the listener, this is the listened port.