summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 031c9b1c20..5aeb8509c3 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.15 2001/06/27 03:05:21 smart Exp $ 1.\" $OpenBSD: nc.1,v 1.16 2001/08/02 20:54:56 ericj Exp $
2.\" 2.\"
3.\" Copyright (c) 1996 David Sacerdote 3.\" Copyright (c) 1996 David Sacerdote
4.\" All rights reserved. 4.\" All rights reserved.
@@ -163,7 +163,7 @@ was able to connect to.
163.It Li "nc -v -u -z -w 3 hostname 20-30" 163.It Li "nc -v -u -z -w 3 hostname 20-30"
164Send UDP packets to ports 20-30 of example.host, and report which ones 164Send UDP packets to ports 20-30 of example.host, and report which ones
165did not respond with an ICMP packet after three seconds. 165did not respond with an ICMP packet after three seconds.
166.It Li "nc -l -p 3000" 166.It Li "nc -l 3000"
167Listen on TCP port 3000, and once there is a connection, send stdin to 167Listen on TCP port 3000, and once there is a connection, send stdin to
168the remote host, and send data from the remote host to stdout. 168the remote host, and send data from the remote host to stdout.
169.It Li "echo foobar | nc hostname 1000" 169.It Li "echo foobar | nc hostname 1000"