mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +00:00
Utilities/nc: Add support to -I/--length option like SO_RCVBUF
This commit is contained in:
parent
b689e8b7f4
commit
5a94402b60
Notes:
sideshowbarker
2024-07-19 17:08:34 +09:00
Author: https://github.com/dayarthvader
Commit: 5a94402b60
Pull-request: https://github.com/SerenityOS/serenity/pull/12617
2 changed files with 26 additions and 3 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue