Subject: Re: [boost] [asio] send blocks with MSG_DONTWAIT (linux)
From: Stefan Pledl (stefan.pledl_at_[hidden])
Date: 2009-04-28 02:30:24
> You can switch your socket in the non-blocking mode with
> Though asio should handle MSG_DONTWAIT as well.
> BR, Dmitry
that's right, but i need a blocking read and a non-blocking wirte.
With basic_stream_socket::non_blocking_io() both, read and write are non-blocking.
When i use C-functions read is blocking and write is non-blocking (when passing MSG_DONTWAIT).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk