diff options
Diffstat (limited to 'src/usr.bin/nc/nc.1')
| -rw-r--r-- | src/usr.bin/nc/nc.1 | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1 index c2599ce3f1..8745528040 100644 --- a/src/usr.bin/nc/nc.1 +++ b/src/usr.bin/nc/nc.1 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: nc.1,v 1.55 2010/07/25 07:51:39 guenther Exp $ | 1 | .\" $OpenBSD: nc.1,v 1.56 2011/01/08 00:44:19 jeremy Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1996 David Sacerdote | 3 | .\" Copyright (c) 1996 David Sacerdote |
| 4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
| @@ -25,7 +25,7 @@ | |||
| 25 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | .\" | 27 | .\" |
| 28 | .Dd $Mdocdate: July 25 2010 $ | 28 | .Dd $Mdocdate: January 8 2011 $ |
| 29 | .Dt NC 1 | 29 | .Dt NC 1 |
| 30 | .Os | 30 | .Os |
| 31 | .Sh NAME | 31 | .Sh NAME |
| @@ -155,6 +155,10 @@ assigns them. | |||
| 155 | Enables the RFC 2385 TCP MD5 signature option. | 155 | Enables the RFC 2385 TCP MD5 signature option. |
| 156 | .It Fl s Ar source_ip_address | 156 | .It Fl s Ar source_ip_address |
| 157 | Specifies the IP of the interface which is used to send the packets. | 157 | Specifies the IP of the interface which is used to send the packets. |
| 158 | For | ||
| 159 | .Ux Ns -domain | ||
| 160 | datagram sockets, specifies the local temporary socket file | ||
| 161 | to create and use so that datagrams can be received. | ||
| 158 | It is an error to use this option in conjunction with the | 162 | It is an error to use this option in conjunction with the |
| 159 | .Fl l | 163 | .Fl l |
| 160 | option. | 164 | option. |
| @@ -179,6 +183,16 @@ Specifies to use | |||
| 179 | sockets. | 183 | sockets. |
| 180 | .It Fl u | 184 | .It Fl u |
| 181 | Use UDP instead of the default option of TCP. | 185 | Use UDP instead of the default option of TCP. |
| 186 | For | ||
| 187 | .Ux Ns -domain | ||
| 188 | sockets, use a datagram socket instead of a stream socket. | ||
| 189 | If a | ||
| 190 | .Ux Ns -domain | ||
| 191 | socket is used, a temporary receiving socket is created in | ||
| 192 | .Pa /tmp | ||
| 193 | unless the | ||
| 194 | .Fl s | ||
| 195 | flag is given. | ||
| 182 | .It Fl V Ar rtable | 196 | .It Fl V Ar rtable |
| 183 | Set the routing table to be used. | 197 | Set the routing table to be used. |
| 184 | The default is 0. | 198 | The default is 0. |
