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

Function connect

include/asio/basic_socket.hpp:849–860  ·  view source on GitHub ↗

Connect the socket to the specified endpoint. * This function is used to connect a socket to the specified remote endpoint. * The function call will block until the connection is successfully made or * an error occurs. * * The socket is automatically opened if it is not already open. If the * connect fails, and the socket was automatically opened, the socket is * not returned to

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

connect_to_endpointsMethod · 0.70
test_connect_rangeFunction · 0.50
test_connect_range_ecFunction · 0.50
test_connect_range_condFunction · 0.50
test_connect_iterFunction · 0.50
test_connect_iter_ecFunction · 0.50
test_connect_iter_condFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50

Calls 5

throw_errorFunction · 0.85
is_openFunction · 0.70
openMethod · 0.45
protocolMethod · 0.45
connectMethod · 0.45

Tested by 8

test_connect_rangeFunction · 0.40
test_connect_range_ecFunction · 0.40
test_connect_range_condFunction · 0.40
test_connect_iterFunction · 0.40
test_connect_iter_ecFunction · 0.40
test_connect_iter_condFunction · 0.40