version 1.4, 1998/09/27 22:24:56 |
version 1.5, 1998/09/28 06:57:35 |
|
|
.Os |
.Os |
.Sh NAME |
.Sh NAME |
.Nm nc |
.Nm nc |
.Nd arbitrary TCP and UDP connections and listens |
.Nd "arbitrary TCP and UDP connections and listens" |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm nc |
.Nm nc |
.Op Fl e Ar command |
.Op Fl e Ar command |
|
|
.Op Fl w Ar timeout |
.Op Fl w Ar timeout |
.Op Ar hostname |
.Op Ar hostname |
.Op Ar port[s...] |
.Op Ar port[s...] |
.Pp |
|
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm nc |
.Nm nc |
|
|
does with some. |
does with some. |
.Pp |
.Pp |
Destination ports can be single integers, names as listed in |
Destination ports can be single integers, names as listed in |
.Xr /etc/services 5 , |
.Xr services 5 , |
or ranges. Ranges are in the form nn-mm, and several separate ports and/or |
or ranges. Ranges are in the form nn-mm, and several separate ports and/or |
ranges may be specified on the command line. |
ranges may be specified on the command line. |
.Pp |
.Pp |