объединение и перенаправление сокетов (Concatenate and redirect sockets)
AF_VSOCK SOCKETS
The --vsock
option causes Ncat to use AF_VSOCK sockets rather
than network sockets. A CID must be given instead of a hostname
or IP address. For example, to make a connection to the host,
ncat --vsock 2 1234
To listen on a socket:
ncat -l --vsock 1234
Both stream and datagram domain sockets are supported, but socket
type availability depends on the hypervisor. Use --vsock
on its
own for stream sockets, or combine it with --udp
for datagram
sockets.