This is an example of a library. You may see a list of other libraries used on Rosetta Code at Category:Solutions by Library.

nc is a shell command to make TCP or UDP connections. UNIX Shell scripts can use nc to connect to the internet.

nc is an important Unix tool, but nc is not one of the standard Unix commands. Some distros include nc in the base system. Other distros put nc in an optional netcat package. Scripts that use nc might not work until you install netcat.

Netcat has at least four implementations:

  • Netcat 1.10 is the original program by *Hobbit*.
  • GNU Netcat is by Giovanni Giacobbi.
  • OpenBSD nc(1) (with source code) is a rewrite by Eric Jackson. It adds support for IPv6 and UNIX-domain sockets, and SOCKS and HTTPS proxies.
  • ncat, from the Nmap Project, reimplements Netcat with several more features, like SCTP and SSL. The command name is ncat, not nc.

Pages in category "Nc"

The following 2 pages are in this category, out of 2 total.