diff options
author | jeremy <> | 2011-01-08 00:44:19 +0000 |
---|---|---|
committer | jeremy <> | 2011-01-08 00:44:19 +0000 |
commit | dc99e0127d6fec60b05811ba3a2d2b087cd26184 (patch) | |
tree | c2e75d64486999445f14ca603bd38be678f9ff8d /src/lib | |
parent | ab9ee91a071dfdb923a078342458cf270af8b71b (diff) | |
download | openbsd-dc99e0127d6fec60b05811ba3a2d2b087cd26184.tar.gz openbsd-dc99e0127d6fec60b05811ba3a2d2b087cd26184.tar.bz2 openbsd-dc99e0127d6fec60b05811ba3a2d2b087cd26184.zip |
Support unix domain sockets in nc(1) with -Uu.
Previously, using -U with -u was an error that was not documented
in the man page. Now it will use a unix socket in datagram mode.
Bidirectional unix datagram communication requires a socket at
both ends, so in client mode (without -l), a temporary socket is
created so that responses from the server can be received.
If -s is specified with -U and -u, it specifies the location of
the temporary socket to create.
This was mostly written way back in 2007. Since then, various
improvements implemented based on suggestions from guenther@,
tedu@, and nicm@. Man page help from nicm@ and jmc@.
Unix datagram support requires a small change to atomicio.c
in order to function correctly, this will be committed separately
shortly.
OK nicm@
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions