asio C++ library

PrevUpHomeNext

experimental::basic_channel::try_send

Try to send a message without blocking.

template<
    typename... Args>
bool try_send(
    Args &&... args);

Fails if the buffer is full and there are no waiting receive operations.

Return Value

true on success, false on failure.


PrevUpHomeNext