Registry / networking / mdlayher-vsock

mdlayher-vsock

JSON →
library1.3.0gogounverified

Package vsock provides access to Linux VM sockets (AF_VSOCK) for communication between a hypervisor and its virtual machines.

go get github.com/mdlayher/vsock
INSTALL
IMPORT
SIG · MDLAYHER-VSOCK
M
mdlayher-vsock
networkinggov1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

vsock
github.com/mdlayher/vsock

Listens on a VM socket context ID and port.

package main import ( "fmt" "github.com/mdlayher/vsock" ) func main() { l, _ := vsock.Listen(1234, nil) fmt.Println(l.Addr()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mdlayher-vsock — go get mdlayher-vsock · libregistry