Skip to main content

create_socketpair

Function create_socketpair 

Source
pub fn create_socketpair() -> Result<(RawFd, RawFd)>
Expand description

Create a Unix datagram socketpair for VZFileHandleNetworkDeviceAttachment. Returns (vm_fd, host_fd). The vm_fd goes to VZ, host_fd goes to the proxy.