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

Method close

include/asio/basic_socket_streambuf.hpp:299–306  ·  view source on GitHub ↗

Close the connection. * @return \c this if a connection was successfully established, a null * pointer otherwise. */

Source from the content-addressed store, hash-verified

297 * pointer otherwise.
298 */
299 basic_socket_streambuf* close()
300 {
301 sync();
302 socket().close(ec_);
303 if (!ec_)
304 init_buffers();
305 return !ec_ ? this : 0;
306 }
307
308 /// Get a reference to the underlying socket.
309 basic_socket<Protocol>& socket()

Callers 2

connect_to_endpointsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected