[Toybox] [PATCH] nc: allow immediate reuse of ports

Josh Gao jmgao at google.com
Thu Jan 24 17:38:54 PST 2019


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!).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190124/a56b8639/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nc.patch
Type: text/x-patch
Size: 965 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190124/a56b8639/attachment-0002.bin>


More information about the Toybox mailing list