|
constexpr | basic_socket_impl (io_context &ctx) noexcept |
|
| basic_socket_impl (const basic_socket_impl &)=delete |
|
basic_socket_impl & | operator= (const basic_socket_impl &)=delete |
|
| basic_socket_impl (basic_socket_impl &&rhs)=default |
|
basic_socket_impl & | operator= (basic_socket_impl &&rhs) noexcept |
|
| ~basic_socket_impl () |
|
stdx::expected< void, error_type > | open (const protocol_type &protocol=protocol_type(), int flags=0) |
|
stdx::expected< void, error_type > | assign (const protocol_type &protocol, const native_handle_type &native_handle) |
|
stdx::expected< void, error_type > | bind (const endpoint_type &endpoint) |
|
stdx::expected< socket_type, error_type > | accept (io_context &io_ctx, struct sockaddr *endpoint_data, socklen_t *endpoint_size, int flags=0) |
|
stdx::expected< socket_type, error_type > | accept (io_context &io_ctx, int flags=0) |
|
stdx::expected< socket_type, error_type > | accept (io_context &io_ctx, endpoint_type &endpoint, int flags=0) |
|
stdx::expected< void, error_type > | listen (int backlog=socket_base::max_listen_connections) |
|
template<typename SettableSocketOption > |
stdx::expected< void, error_type > | set_option (const SettableSocketOption &option) |
|
template<typename GettableSocketOption > |
stdx::expected< void, error_type > | get_option (GettableSocketOption &option) const |
|
stdx::expected< endpoint_type, error_type > | local_endpoint () const |
|
stdx::expected< endpoint_type, error_type > | remote_endpoint () const |
|
template<class IoControlCommand > |
stdx::expected< void, error_type > | io_control (IoControlCommand &cmd) const |
|
stdx::expected< size_t, error_type > | available () const |
|
stdx::expected< bool, error_type > | at_mark () const |
|
stdx::expected< void, error_type > | shutdown (socket_base::shutdown_type st) const |
|
stdx::expected< void, std::error_code > | wait (socket_base::wait_type wt) |
|
constexpr | basic_socket_impl_base (io_context &ctx) |
|
| basic_socket_impl_base (const basic_socket_impl_base &rhs)=delete |
|
basic_socket_impl_base & | operator= (const basic_socket_impl_base &rhs)=delete |
|
| basic_socket_impl_base (basic_socket_impl_base &&rhs) noexcept |
|
basic_socket_impl_base & | operator= (basic_socket_impl_base &&rhs) noexcept |
|
| ~basic_socket_impl_base ()=default |
|
constexpr native_handle_type | native_handle () const noexcept |
|
constexpr bool | is_open () const noexcept |
|
constexpr bool | non_blocking () const |
|
stdx::expected< void, std::error_code > | non_blocking (bool mode) |
|
bool | native_non_blocking () const |
|
stdx::expected< void, std::error_code > | native_non_blocking (bool mode) |
|
executor_type | get_executor () noexcept |
|
stdx::expected< void, std::error_code > | close () |
|
stdx::expected< void, std::error_code > | cancel () |
|
stdx::expected< native_handle_type, std::error_code > | release () |
|