File net.h

File List > coroutine > net.h

Go to the source code of this file.

Async I/O operation support with system socket functions. More...

  • #include <gsl/gsl>
  • #include <coroutine/return.h>

Namespaces

Type Name
namespace coro

Classes

Type Name
class io_recv
Awaitable type to perform recv I/O request.
class io_recv_from
Awaitable type to perform recvfrom I/O request.
class io_send
Awaitable type to perform send I/O request.
class io_send_to
Awaitable type to perform sendto I/O request.
class io_work_t
A struct to describe "1 I/O request" to system API. When I/O request is submitted, an I/O task becomes 1 coroutine handle.

Macros

Type Name
define COROUTINE_NET_IO_H

Detailed Description

Author:

github.com/luncliff (luncliff@gmail.com)

Copyright:

CC BY 4.0

Macro Definition Documentation

define COROUTINE_NET_IO_H

#define COROUTINE_NET_IO_H 

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