diff --git a/ncat/docs/ncat.xml b/ncat/docs/ncat.xml index 0436bd665..7ecb0d659 100644 --- a/ncat/docs/ncat.xml +++ b/ncat/docs/ncat.xml @@ -115,6 +115,22 @@ + + + , + (Use Unix domain sockets) + (Ncat option) + (Ncat option) + + + Use Unix domain sockets rather than network sockets. + This option may be used on its own for stream sockets, or + combined with for datagram sockets. + A description of mode is in + . + + + , @@ -727,6 +743,39 @@ + + Unix Domain Sockets + + + The option (same as ) + causes Ncat to use Unix domain sockets rather than network sockets. + Unix domain sockets exist as an entry in the filesystem. You must + give the name of a socket to connect to or to listen on. For + example, to make a connection, + + ncat -U ~/unixsock + + To listen on a socket: + + ncat -l -U ~/unixsock + + Listen mode will create the socket if it doesn't exist. The socket + will continue to exist after the program ends. + + + + Both stream and datagram domain sockets are supported. Use + on its own for stream sockets, or + combine it with for datagram sockets. + Datagram sockets require a source socket to connect from. By + default, a source socket with a random filename will be created as + needed, and deleted when the program ends. Use the + with a path to use a source socket with a + specific name. + + + + Examples