diff options
author | Tom Cherry <tomcherry@google.com> | 2019-06-28 16:48:34 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-07-01 15:21:00 -0500 |
commit | a55b7d7094072cfdc2f818f63633a89cff8f7cd5 (patch) | |
tree | 2b26a052c008b7c1d3d6203fe8aa9d91269e213e /toys/net/sntp.c | |
parent | 5beb9842ed71aeb0a6644666a857f4e1e5e94619 (diff) | |
download | toybox-a55b7d7094072cfdc2f818f63633a89cff8f7cd5.tar.gz |
netcat: Add UNIX domain socket support (-U)
Other implementations of netcat support UNIX domain sockets via -U, so
this change adds it to toybox too.
Example usage:
Create ./uds as a UNIX domain socket and listen on it, forwarding
messages to bash:
> nc -U -s ./uds -L /bin/bash
Connect to ./uds as a UNIX domain socket
> nc -U ./uds
Diffstat (limited to 'toys/net/sntp.c')
0 files changed, 0 insertions, 0 deletions