mdlayher / vsock

Package vsock provides access to Linux VM sockets (AF_VSOCK) for communication between a hypervisor and its virtual machines. MIT Licensed.
MIT License
328 stars 65 forks source link

vsock: factor out newConn function on Linux #18

Closed mdlayher closed 6 years ago

mdlayher commented 6 years ago

Reduces duplication. Also fixed the "dial" conn to report its own address as its file name, not the remote address.

mdlayher commented 6 years ago

r: @aybabtme