aboutsummaryrefslogtreecommitdiff
path: root/toys/net/microcom.c
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2019-01-24 17:32:35 -0800
committerRob Landley <rob@landley.net>2019-01-25 08:27:17 -0600
commit0430bb09837ed5664ea781e54519f965c966992a (patch)
tree8708df121f737dfa0111ec14e14bfc17dc6aa71e /toys/net/microcom.c
parenta60d0bd0bfddc49238d33424f4848a3c8bc3dc3e (diff)
downloadtoybox-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/net/microcom.c')
0 files changed, 0 insertions, 0 deletions