-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support a receive timeout for UDP connections #540
Comments
Is this done? |
Seems like this slipped the 0.7.19 milestone. It's marked now for 0.7.20. I'm still very busy with other issues, so I can't work on it right now yet, though. |
I see. |
A relatively crude workaround would go similar to this:
(I didn't test actually this, so it may still contain some mistakes) |
It works well 👍 |
I tried the same code for |
What happens for |
I tried but doesnt work. it tries to connect to peer but it just stuck. Need to a connection timeout |
This works for me:
|
Was this tested in Windows? My thread is handing on a simple timeout on Win 8.1, vibe 0.7.22: |
Add either an overload of
receive
that takes a timeout parameter, or add a separatewaitForData
method analogous to the one inTCPConnection
.The text was updated successfully, but these errors were encountered: