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

Fixing the server side of the vscp sample #22

Closed GalNivs closed 5 years ago

GalNivs commented 5 years ago

When I tried using the vscp sample, the server instantly died since socket.Accept() is not a blocking function any more. I fixed it on my local machine and thought it will be nice to PR it :)

mdlayher commented 5 years ago

I'd like to hold off on this until Go 1.12 to see if we can get by without it once the poller can recognize our sockets.

mdlayher commented 5 years ago

And my apologies for the delayed response.

mdlayher commented 5 years ago

This will be unnecessary with #25, closing.

mdlayher commented 5 years ago

Fixed as of https://github.com/mdlayher/vsock/pull/26.