• -l — listen for incoming connections (rather than make an outgoing connection)
  • -v — verbose
  • -n — skip DNS resolution (slightly faster, less noisy on the network)
  • -p — specify the port to listen to
  • -u — connect using UDP instead of TCP
  • -k — keep listening even after client disconnects

IMPORTANT

The -c and -e flags, which allow netcat to hook other applications, are considered security risks (for obvious reasons!) and are disabled on many systems.