1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:17:34 +00:00

Utilities/nc: Add support to -I/--length option like SO_RCVBUF

This commit is contained in:
dayarthvader 2022-02-18 06:34:31 +02:00 committed by Andreas Kling
parent b689e8b7f4
commit 5a94402b60
2 changed files with 26 additions and 3 deletions

View file

@ -5,7 +5,7 @@ nc
## Synopsis
```sh
$ nc [--listen] [--verbose] [--udp] [-N] <target> <port>
$ nc [--listen] [--verbose] [--udp] [-N] [--length ] <target> <port>
```
## Description
@ -20,6 +20,7 @@ Network cat: Connect to network sockets as if it were a file.
* `-v`, `--verbose`: Log everything that's happening
* `-u`, `--udp`: UDP mode
* `-N`: Close connection after reading stdin to the end
* `-I`, `--length`: Set maximum tcp receive buffer size
## Arguments: