summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/nc.1
diff options
context:
space:
mode:
authordjm <>2008-05-06 05:47:39 +0000
committerdjm <>2008-05-06 05:47:39 +0000
commit873981cd3d721072cd2256a9b91a254d36e4b264 (patch)
treef8302897a5083ef502422d49fb54004bfa444070 /src/usr.bin/nc/nc.1
parentad080a65a3e118c1b0f00e67a13c6f40b04446d3 (diff)
downloadopenbsd-873981cd3d721072cd2256a9b91a254d36e4b264.tar.gz
openbsd-873981cd3d721072cd2256a9b91a254d36e4b264.tar.bz2
openbsd-873981cd3d721072cd2256a9b91a254d36e4b264.zip
allow setting of TCP send/receive buffer sizes; ok markus@
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r--src/usr.bin/nc/nc.110
1 files changed, 8 insertions, 2 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1
index 441ef32198..9e32ad97c6 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.45 2007/05/31 19:20:13 jmc Exp $ 1.\" $OpenBSD: nc.1,v 1.46 2008/05/06 05:47:39 djm 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: May 31 2007 $ 28.Dd $Mdocdate: May 6 2008 $
29.Dt NC 1 29.Dt NC 1
30.Os 30.Os
31.Sh NAME 31.Sh NAME
@@ -35,7 +35,9 @@
35.Nm nc 35.Nm nc
36.Bk -words 36.Bk -words
37.Op Fl 46DdhklnrStUuvz 37.Op Fl 46DdhklnrStUuvz
38.Op Fl I Ar receive_buffer_len
38.Op Fl i Ar interval 39.Op Fl i Ar interval
40.Op Fl O Ar send_buffer_len
39.Op Fl P Ar proxy_username 41.Op Fl P Ar proxy_username
40.Op Fl p Ar source_port 42.Op Fl p Ar source_port
41.Op Fl s Ar source_ip_address 43.Op Fl s Ar source_ip_address
@@ -101,6 +103,8 @@ Do not attempt to read from stdin.
101Prints out 103Prints out
102.Nm 104.Nm
103help. 105help.
106.It Fl I Ar receive_buffer_len
107Specifies the size of the TCP receive buffer.
104.It Fl i Ar interval 108.It Fl i Ar interval
105Specifies a delay time interval between lines of text sent and received. 109Specifies a delay time interval between lines of text sent and received.
106Also causes a delay time between connections to multiple ports. 110Also causes a delay time between connections to multiple ports.
@@ -118,6 +122,8 @@ Used to specify that
118should listen for an incoming connection rather than initiate a 122should listen for an incoming connection rather than initiate a
119connection to a remote host. 123connection to a remote host.
120It is an error to use this option in conjunction with the 124It is an error to use this option in conjunction with the
125.It Fl O Ar send_buffer_len
126Specifies the size of the TCP send buffer.
121.Fl p , 127.Fl p ,
122.Fl s , 128.Fl s ,
123or 129or