MCPcopy Create free account
hub / github.com/diasurgical/devilution / basic_socket

Function basic_socket

3rdParty/asio/include/asio/basic_socket.hpp:92–95  ·  view source on GitHub ↗

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. */

Source from the content-addressed store, hash-verified

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 /**

Callers 1

basic_socket.hppFile · 0.70

Calls 5

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

Tested by

no test coverage detected