diff options
author | Josh Gao <jmgao@google.com> | 2019-01-24 17:32:35 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-01-25 08:27:17 -0600 |
commit | 0430bb09837ed5664ea781e54519f965c966992a (patch) | |
tree | 8708df121f737dfa0111ec14e14bfc17dc6aa71e /toys.h | |
parent | a60d0bd0bfddc49238d33424f4848a3c8bc3dc3e (diff) | |
download | toybox-0430bb09837ed5664ea781e54519f965c966992a.tar.gz |
nc: allow immediate reuse of ports.
Set SO_REUSEADDR when listening so that we can immediately reuse ports
that are no longer being listened upon, instead of having to wait 60
seconds for the socket to be shutdown after being closed (even on
localhost!).
Diffstat (limited to 'toys.h')
0 files changed, 0 insertions, 0 deletions