c++ - send async with slow consumer -


in non-blocking socket mode when server sent data synchronously, if client processed tcp buffer slower sender, send() begin block/timeout.

is case when server send data asynchronously ? (for instance boost asio method async_send)

yes. async operations take longer complete.

no, code invoking asynchronous operations doesn't block (that's asynchronous means).

send synchronous, async_send never is. of course, if wait asynchronous operations complete, end same delay, that's choice.


Comments