On a blocking socket, if I set the flag MSG_DONTWAIT on a per call basis, will it effect the socket as a whole as in will the socket now behave like a non-blocking socket since this call is made with this flag?
I mean will the recv on the blocking socket starts behaving like a non-blocking recv?
Or will the effects of this flag will only last for the requested single send call?
The flags supplied to sendmsg() will affect the sendmsg() call only.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With