Skip to content

Instantly share code, notes, and snippets.

@nrdmn
nrdmn / vsock-notes.md
Last active August 18, 2024 02:24
vsock notes

vsock notes

about vsocks

Vsocks are a means of providing socket communication (either stream or datagram) directly between VMs and their host operating system. The host and each VM have a 32 bit CID (Context IDentifier) and may connect or bind to a 32 bit port number. Ports < 1024 are privileged ports.