@@ -130,25 +130,25 @@ namespace flow::net_flow::asio
130130 * - Asynchronous operations (`asio::*` classes provide these):
131131 * - asio::Server_socket::async_accept() -> asio::Peer_socket: Obtain a fully connected peer socket object,
132132 * waiting as necessary in background for a connection to come in and fully establish,
133- * then invoking user-provided callback as if by `io_context:: post()`.
133+ * then invoking user-provided callback as if by `post(io_context& )`.
134134 * - Equivalent: `tcp::acceptor::async_accept()`.
135135 * - Variations: optional timeout can be specified.
136136 * - Variations: `reactor_pattern` mode, where the `accept()` call itself is left to user handler.
137137 * - asio::Node::async_connect() -> net_flow::Peer_socket: Return a fully connected peer socket object,
138138 * waiting as necessary in background to reach the remote server and fully establish connection,
139- * then invoking user-provided callback as if by `io_context:: post()`.
139+ * then invoking user-provided callback as if by `post(io_context& )`.
140140 * - Equivalent: `tcp::socket::async_connect()`.
141141 * - Variations: optional timeout can be specified.
142142 * - Variations: see also `*_with_metadata()` as above.
143143 * - asio::Peer_socket::async_send(): Queue up at least 1 of the N given bytes to send to peer ASAP,
144144 * waiting as necessary in background for this to become possible (as explained above),
145- * then invoking user-provided callback as if by `io_context:: post()`.
145+ * then invoking user-provided callback as if by `post(io_context& )`.
146146 * - Equivalent: `tcp::socket::async_send()`.
147147 * - Variations: optional timeout can be specified.
148148 * - Variations: `null_buffers` mode, where the `send()` call itself is left to user handler.
149149 * - asio::Peer_socket::async_receive(): Dequeue at least 1 of the desired N bytes from peer,
150150 * waiting as necessary in background for this to arrive from said remote peer,
151- * then invoking user-provided callback as if by `io_context:: post()`.
151+ * then invoking user-provided callback as if by `post(io_context& )`.
152152 * - Equivalent: `tcp::socket::async_receive()`.
153153 * - Variations: optional timeout can be specified.
154154 * - Variations: `null_buffers` mode, where the `receive()` call itself is left to user handler.
@@ -169,7 +169,7 @@ namespace flow::net_flow::asio
169169 * - Equivalent: `poll()` with 0 timeout.
170170 * - Event_set::async_wait(): Asynchronous I/O multiplixing, like sync_wait() but waits in background and
171171 * executes user-provided callback from an unspecified thread. (A typical callback might set a `future`
172- * result; `io_context:: post()` a task to some boost.asio event loop; perhaps set a flag that is
172+ * result; `post(io_context& )` a task to some boost.asio event loop; perhaps set a flag that is
173173 * periodically checked by some user thread; or send a byte over some quick IPC mechanism like a POSIX
174174 * domain socket or loopback UDP socket -- or even a condition variable.)
175175 * - Equivalents: none in POSIX, that I know of. Windows "overlapped" async I/O sounds vaguely like a distant
@@ -316,7 +316,7 @@ class Node :
316316 * background, and queueing the user-provided callback on the given boost.asio flow::util::Task_engine.
317317 * Acts just like connect() but instead of returning a connecting socket immediately, it returns and asycnhronously
318318 * waits until the initial handshake either succeeds or fails, and then invokes the given callback (in manner
319- * equivalent to boost.asio `Task_engine:: post()`), passing to it the connected socket or null, respectively,
319+ * equivalent to boost.asio `post(Task_engine& )`), passing to it the connected socket or null, respectively,
320320 * along with a success #Error_code or otherwise, respectively. Additionally, you can specify a timeout; not
321321 * completing the connection by that time is a specific #Error_code.
322322 *
0 commit comments