diff options
| author | haesbaert <> | 2012-07-07 15:33:02 +0000 |
|---|---|---|
| committer | haesbaert <> | 2012-07-07 15:33:02 +0000 |
| commit | 4e1ef7984f8cd9372c63770fd97e925a58dfb1de (patch) | |
| tree | 9783115d4fc4eeb94c551ef60f301694559dcb99 /src/usr.bin/nc/nc.1 | |
| parent | efb29344c9db238533300df6ae852f807fe14f93 (diff) | |
| download | openbsd-4e1ef7984f8cd9372c63770fd97e925a58dfb1de.tar.gz openbsd-4e1ef7984f8cd9372c63770fd97e925a58dfb1de.tar.bz2 openbsd-4e1ef7984f8cd9372c63770fd97e925a58dfb1de.zip | |
Allow UDP server to receive datagrams from multiple socket pairs with -k
flag. Prompted by a question from dsp at 2f30 dot org, diff from Lazarom
Koromil with a few tweaks by me, many thanks.
ok mikeb@ nicm@ haesbaert@
Diffstat (limited to 'src/usr.bin/nc/nc.1')
| -rw-r--r-- | src/usr.bin/nc/nc.1 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1 index 75d1437580..232b6f5b6e 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.60 2012/02/07 12:11:43 lum Exp $ | 1 | .\" $OpenBSD: nc.1,v 1.61 2012/07/07 15:33:02 haesbaert 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: February 7 2012 $ | 28 | .Dd $Mdocdate: July 7 2012 $ |
| 29 | .Dt NC 1 | 29 | .Dt NC 1 |
| 30 | .Os | 30 | .Os |
| 31 | .Sh NAME | 31 | .Sh NAME |
| @@ -119,6 +119,10 @@ is completed. | |||
| 119 | It is an error to use this option without the | 119 | It is an error to use this option without the |
| 120 | .Fl l | 120 | .Fl l |
| 121 | option. | 121 | option. |
| 122 | When used together with the | ||
| 123 | .Fl u | ||
| 124 | option, the server socket is not connected and it can receive UDP datagrams from | ||
| 125 | multiple hosts. | ||
| 122 | .It Fl l | 126 | .It Fl l |
| 123 | Used to specify that | 127 | Used to specify that |
| 124 | .Nm | 128 | .Nm |
