summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/nc.1
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r--src/usr.bin/nc/nc.118
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.
155Enables the RFC 2385 TCP MD5 signature option. 155Enables the RFC 2385 TCP MD5 signature option.
156.It Fl s Ar source_ip_address 156.It Fl s Ar source_ip_address
157Specifies the IP of the interface which is used to send the packets. 157Specifies the IP of the interface which is used to send the packets.
158For
159.Ux Ns -domain
160datagram sockets, specifies the local temporary socket file
161to create and use so that datagrams can be received.
158It is an error to use this option in conjunction with the 162It is an error to use this option in conjunction with the
159.Fl l 163.Fl l
160option. 164option.
@@ -179,6 +183,16 @@ Specifies to use
179sockets. 183sockets.
180.It Fl u 184.It Fl u
181Use UDP instead of the default option of TCP. 185Use UDP instead of the default option of TCP.
186For
187.Ux Ns -domain
188sockets, use a datagram socket instead of a stream socket.
189If a
190.Ux Ns -domain
191socket is used, a temporary receiving socket is created in
192.Pa /tmp
193unless the
194.Fl s
195flag is given.
182.It Fl V Ar rtable 196.It Fl V Ar rtable
183Set the routing table to be used. 197Set the routing table to be used.
184The default is 0. 198The default is 0.