summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/nc.1
diff options
context:
space:
mode:
authorjmc <>2004-12-31 15:23:31 +0000
committerjmc <>2004-12-31 15:23:31 +0000
commita245c0c3e4906a7edc9c51d13b92a181df2b6d8d (patch)
tree2e491d5bad2783842c2b6ff2980acae3728f14ba /src/usr.bin/nc/nc.1
parent1aac940d9977aaf0d04bb4eafe4cc1c7acfe71b5 (diff)
downloadopenbsd-a245c0c3e4906a7edc9c51d13b92a181df2b6d8d.tar.gz
openbsd-a245c0c3e4906a7edc9c51d13b92a181df2b6d8d.tar.bz2
openbsd-a245c0c3e4906a7edc9c51d13b92a181df2b6d8d.zip
explicitly mention port in an example;
from fgsch@
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r--src/usr.bin/nc/nc.14
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1
index 44cdb14bbc..02d536bddb 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.33 2004/10/17 03:13:55 djm Exp $ 1.\" $OpenBSD: nc.1,v 1.34 2004/12/31 15:23:31 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 1996 David Sacerdote 3.\" Copyright (c) 1996 David Sacerdote
4.\" All rights reserved. 4.\" All rights reserved.
@@ -353,7 +353,7 @@ Create and listen on a Unix Domain Socket:
353.Pp 353.Pp
354.Dl $ nc -lU /var/tmp/dsocket 354.Dl $ nc -lU /var/tmp/dsocket
355.Pp 355.Pp
356Connect to port 42 of hostname via an HTTP proxy at 10.2.3.4: 356Connect to port 42 of hostname via an HTTP proxy at 10.2.3.4, port 8080:
357.Pp 357.Pp
358.Dl $ nc -x10.2.3.4:8080 -Xconnect hostname 42 358.Dl $ nc -x10.2.3.4:8080 -Xconnect hostname 42
359.Sh SEE ALSO 359.Sh SEE ALSO