<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jun 9, 2017 at 1:31 PM, Rob Landley <span dir="ltr"><<a href="mailto:rob@landley.net" target="_blank">rob@landley.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 06/09/2017 01:05 PM, Josh Gao wrote:<br>
> Patch attached.<br>
<br>
What specifically did you fix? (I.E. is this the same "netcat -L<br>
zombies" issue I have on my todo list?)<br></blockquote><div><br></div><div><div>This makes `nc -l` do what it says it does, and listen for exactly one</div><div>connection before exiting, instead of handling connections until a ^C.</div></div><div><div><br></div><div> terminal1$ echo foo | toybox nc -l -p 1234 > bar</div><div> terminal1$ cat bar<br></div><div> bar</div><div><br></div><div> terminal2$ echo bar | toybox nc localhost 1234 > foo</div></div><div><div> terminal2$ cat foo<br></div><div> foo</div></div><div><br></div><div><div>(Unrelated: is matching the BSD netcat's command line interface a goal? I keep</div><div>accidentally doing `toybox nc -l 1234` and getting bitten by it.)</div></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I'm -> <- this close to getting a release out, the only issue left after<br>
dmesg is fixing the help text generator, lemme do that, cut a release,<br>
and _then_ dive into this. :)<br></blockquote><div><br></div><div>Sure, thanks :-)<br></div><div><br></div><div>-Josh</div></div></div></div>