If I've understood your question correctly the answer is that sockets
are set to non-blocking mode when they are created so all operations are
non-blocking. Blocking operations are simulated by not returning to the
caller until the operation has completed. The reason for this is that
it allows a thread to be interrupted or killed from within the run-time
system.
David
On 19/06/2019 11:52, Kostirya wrote:
Hello.
I have question.
Why Non-blocking socket functions called without MSG_DONTWAIT flag?
Nick.
_______________________________________________
polyml mailing list
polyml@inf.ed.ac.uk
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml
_______________________________________________
polyml mailing list
polyml@inf.ed.ac.uk
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml