MCPcopy Create free account
hub / github.com/chriskohlhoff/networking-ts-impl / open

Function open

include/experimental/__net_ts/basic_socket.hpp:258–263  ·  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 std::system_error Thrown on failure. * * @par Example * @code * std::experimental::net::ip::tcp::socket socket(io_context); * socket.open(std::experimental::net::ip:

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