Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/asio
/ close
Method
close
example/cpp11/chat/chat_client.cpp:47–50 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
}
46
47
void close()
48
{
49
boost::asio::post(io_context_, [this]() { socket_.close(); });
50
}
51
52
private:
53
void do_connect(const tcp::resolver::results_type& endpoints)
Callers
15
stop
Method · 0.45
stop
Method · 0.45
stop
Method · 0.45
stop
Method · 0.45
do_await_stop
Method · 0.45
do_read_header
Method · 0.45
do_read_body
Method · 0.45
do_write
Method · 0.45
main
Function · 0.45
use_file_impl
Method · 0.45
accept
Method · 0.45
initiate
Method · 0.45
Calls
1
post
Function · 0.50
Tested by
6
test_sync_operations
Function · 0.36
test_async_operations
Function · 0.36
test_sync_operations
Function · 0.36
test_async_operations
Function · 0.36
test_sync_operations
Function · 0.36
test_async_operations
Function · 0.36