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

Function bind

include/asio/basic_socket_acceptor.hpp:568–573  ·  view source on GitHub ↗

Bind the acceptor to the given local endpoint. * This function binds the socket acceptor to the specified endpoint on the * local machine. * * @param endpoint An endpoint on the local machine to which the socket * acceptor will be bound. * * @throws asio::system_error Thrown on failure. * * @par Example * @code * asio::ip::tcp::acceptor acceptor(my_context); * asio

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

Tested by

no test coverage detected