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

Function local_endpoint

include/asio/basic_socket_acceptor.hpp:1112–1119  ·  view source on GitHub ↗

Get the local endpoint of the acceptor. * This function is used to obtain the locally bound endpoint of the acceptor. * * @returns An object that represents the local endpoint of the acceptor. * * @throws asio::system_error Thrown on failure. * * @par Example * @code * asio::ip::tcp::acceptor acceptor(my_context); * ... * asio::ip::tcp::endpoint endpoint = acceptor.lo

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
local_endpointMethod · 0.45

Tested by

no test coverage detected