MCPcopy Create free account
hub / github.com/chriskohlhoff/asio / open

Function open

include/asio/basic_socket.hpp:421–426  ·  view source on GitHub ↗

Open the socket using the specified protocol. * This function opens the socket so that it will use the specified protocol. * * @param protocol An object specifying protocol parameters to be used. * * @throws asio::system_error Thrown on failure. * * @par Example * @code * asio::ip::tcp::socket socket(my_context); * socket.open(asio::ip::tcp::v4()); * @endcode */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

throw_errorFunction · 0.85
openMethod · 0.45

Tested by

no test coverage detected