MCPcopy Create free account
hub / github.com/cinder/Cinder / connect

Method connect

include/asio/basic_socket_streambuf.hpp:260–266  ·  view source on GitHub ↗

Establish a connection. * This function establishes a connection to the specified endpoint. * * @return \c this if a connection was successfully established, a null * pointer otherwise. */

Source from the content-addressed store, hash-verified

258 * pointer otherwise.
259 */
260 basic_socket_streambuf* connect(const endpoint_type& endpoint)
261 {
262 init_buffers();
263 ec_ = asio::error_code();
264 this->connect_to_endpoints(&endpoint, &endpoint + 1);
265 return !ec_ ? this : 0;
266 }
267
268#if defined(GENERATING_DOCUMENTATION)
269 /// Establish a connection.

Callers

nothing calls this directly

Calls 4

connect_to_endpointsMethod · 0.95
error_codeClass · 0.85
get_executorMethod · 0.45
resolveMethod · 0.45

Tested by

no test coverage detected