nc [OPTIONS] HOST PORT - connect nc [OPTIONS] -l -p PORT [HOST] [PORT] - listen
Options:
-e PROG Run PROG after connect (must be last) -l Listen mode, for inbound connects -n Don't do DNS resolution -s ADDR Local address -p PORT Local port -u UDP mode -v Verbose -w SEC Timeout for connects and final net reads -i SEC Delay interval for lines sent -o FILE Hex dump traffic -z Zero-I/O mode (scanning)