Construct a basic_socket without opening it. * This constructor creates a socket without opening it. * * @param io_context The io_context object that the socket will use to * dispatch handlers for any asynchronous operations performed on the socket. */
| 90 | * dispatch handlers for any asynchronous operations performed on the socket. |
| 91 | */ |
| 92 | explicit basic_socket(asio::io_context& io_context) |
| 93 | : basic_io_object<ASIO_SVC_T>(io_context) |
| 94 | { |
| 95 | } |
| 96 | |
| 97 | /// Construct and open a basic_socket. |
| 98 | /** |
no test coverage detected