diff options
author | jeremy <> | 2011-01-08 00:44:19 +0000 |
---|---|---|
committer | jeremy <> | 2011-01-08 00:44:19 +0000 |
commit | 3a55b27ba29e32a60b1042eaa6c2bf7819a834b1 (patch) | |
tree | c2e75d64486999445f14ca603bd38be678f9ff8d /src/lib | |
parent | 362d9a673e936e1ee88b04525ec7e44d4aad198b (diff) | |
download | openbsd-3a55b27ba29e32a60b1042eaa6c2bf7819a834b1.tar.gz openbsd-3a55b27ba29e32a60b1042eaa6c2bf7819a834b1.tar.bz2 openbsd-3a55b27ba29e32a60b1042eaa6c2bf7819a834b1.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