Module vsock

Source

Structsยง

AddrParseError
SocketAddr
An address associated with a virtual socket.
VsockListener
Represents a virtual socket server.
VsockSocket
A virtual socket.
VsockStream
A virtual stream socket.
sockaddr_vm ๐Ÿ”’

Enumsยง

VsockCid
The vsock equivalent of an IP address.

Constantsยง

AF_VSOCK ๐Ÿ”’
PADDING ๐Ÿ”’
VMADDR_CID_LOCAL ๐Ÿ”’
VMADDR_PORT_ANY
Vsock equivalent of binding on port 0. Binds to a random port.

Traitsยง

ToSocketAddr

Functionsยง

set_nonblocking ๐Ÿ”’ โš 
Sets fd to be blocking or nonblocking. fd must be a valid fd of a type that accepts the O_NONBLOCK flag. This includes regular files, pipes, and sockets.