MCPcopy Create free account
hub / github.com/boostorg/asio / basic_socket

Function basic_socket

include/boost/asio/basic_socket.hpp:121–124  ·  view source on GitHub ↗

Construct a basic_socket without opening it. * This constructor creates a socket without opening it. * * @param ex The I/O executor that the socket will use, by default, to * dispatch handlers for any asynchronous operations performed on the socket. */

Source from the content-addressed store, hash-verified

119 * dispatch handlers for any asynchronous operations performed on the socket.
120 */
121 explicit basic_socket(const executor_type& ex)
122 : impl_(0, ex)
123 {
124 }
125
126 /// Construct a basic_socket without opening it.
127 /**

Callers 1

basic_socket.hppFile · 0.70

Calls 6

throw_errorFunction · 0.85
openMethod · 0.45
protocolMethod · 0.45
bindMethod · 0.45
assignMethod · 0.45

Tested by

no test coverage detected