linuxkit / virtsock

Go bindings for virtio and Hyper-V sockets
Other
87 stars 29 forks source link

vsock: Add Conn.File() to get underlying file #39

Closed jstarks closed 7 years ago

jstarks commented 7 years ago

This method, which is also supported by net.TCPConn and net.UnixConn, allows the caller to get an os.File from the connection.