Class coro::io_recv_from¶
Class List > coro > io_recv_from
Awaitable type to perform recvfrom
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: recvfrom
See also: WSARecvFrom
Public Functions Documentation¶
function await_ready¶
inline bool coro::io_recv_from::await_ready () noexcept const
function await_resume¶
inline int64_t coro::io_recv_from::await_resume () noexcept
function await_suspend¶
inline void coro::io_recv_from::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