-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I find it problematic to run a busy-loop while waiting for transmission or timeout at the end of UdpSocket::send()
.
My expectation would be that execution can continue and the next attempt to send data could return WouldBlock
.
I'm aware this way we probably lose the ability to tell it timed out at all but is nothing that I count on as UDP is not
reliable anyway. Also in POSIX OS you get this kind of feedback only by special out-of-band message channel (recvmsg manpage).
Unfortunately, this causes API to change somewhat.
What are your thoughts on this?
Metadata
Metadata
Assignees
Labels
No labels