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

Function bind

include/asio/basic_socket.hpp:789–794  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

startMethod · 0.50
stopMethod · 0.50
handle_connectMethod · 0.50
handle_readMethod · 0.50
handle_writeMethod · 0.50
clientMethod · 0.50
handle_timeoutMethod · 0.50
mainFunction · 0.50
startMethod · 0.50
handle_readMethod · 0.50
handle_writeMethod · 0.50
start_acceptMethod · 0.50

Calls 2

throw_errorFunction · 0.85
bindMethod · 0.45

Tested by 15

startMethod · 0.40
stopMethod · 0.40
handle_connectMethod · 0.40
handle_readMethod · 0.40
handle_writeMethod · 0.40
clientMethod · 0.40
handle_timeoutMethod · 0.40
mainFunction · 0.40
startMethod · 0.40
handle_readMethod · 0.40
handle_writeMethod · 0.40
start_acceptMethod · 0.40