Closed xibz closed 5 years ago
For the time being, you'll have to handle that error yourself and keep looping. In Go 1.12, we'll have proper runtime network poller support, and this will no longer be necessary.
/cc @mxpv
Same here. vscp doesn't work with Go 1.11.5.
Output like this:
2019/03/14 17:18:39 receive: creating file "cpuinfo.txt" for output
2019/03/14 17:18:39 receive: opening listener: 1024
2019/03/14 17:18:39 receive: listening: host(2):1024
2019/03/14 17:18:39 vscp: receive: failed to accept: resource temporarily unavailable
Is it the same reason?
Please upgrade to Go 1.12. See #25.
Fixed as of https://github.com/mdlayher/vsock/pull/26.
I cannot seem to ever to get past the resource temporarily unavailable error. It seems to retry a bunch, but never succeeds in a connection. This may not even pertain to this library, but any clue to why this is occurring would be great!