class
acceptorspecial io object available to bond, listen, and accept ark::
Contents
Base classes
- class ark::nonseekable_fd
- An io object, denotes a non lseek()-able fd as defined in kernel.
Public static functions
Constructors, destructors, conversion operators
- acceptor(int fd_int) protected
- constructs from int fildes
Function documentation
static result<acceptor> ark:: net:: tcp:: acceptor:: create(bool use_ipv6 = false) noexcept
constructs an acceptor
Parameters | |
---|---|
use_ipv6 in | if set to true, associated bond and accept calls should use ark:: |
static result<acceptor> ark:: net:: tcp:: acceptor:: create(async_ context& ctx,
bool use_ipv6 = false) noexcept
constructs an acceptor
Parameters | |
---|---|
ctx in | bound to this ark:: |
use_ipv6 in | if set to true, associated bond and accept calls should use ark:: |
ark:: net:: tcp:: acceptor:: acceptor(int fd_int) protected
constructs from int fildes
Parameters | |
---|---|
fd_int in | must be an fildes opened by socket(2) |