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 thesendmsg()call only.