Class coro::io_send_to

Class List > coro > io_send_to

Awaitable type to perform sendto I/O request.More...

  • #include <net.h>

Inherits the following classes: coro::io_work_t

Public Attributes inherited from coro::io_work_t

See coro::io_work_t

Type Name
io_buffer_t buffer = {}
coroutine_handle< void > task = {}

Public Functions

Type Name
bool await_ready () noexcept const
int64_t await_resume () noexcept
void await_suspend (coroutine_handle< void > t) noexcept

Public Functions inherited from coro::io_work_t

See coro::io_work_t

Type Name
uint32_t error () noexcept const
Multiple retrieving won't be a matter.

Protected Functions inherited from coro::io_work_t

See coro::io_work_t

Type Name
bool ready () noexcept const

Detailed Description

See also: sendto

See also: WSASendTo

Public Functions Documentation

function await_ready

inline bool coro::io_send_to::await_ready () noexcept const

function await_resume

inline int64_t coro::io_send_to::await_resume () noexcept

function await_suspend

inline void coro::io_send_to::await_suspend (
    coroutine_handle < void > t
) noexcept

Exception:

  • std::system_error

The documentation for this class was generated from the following file interface/coroutine/net.h