make_strand is in net::

This commit is contained in:
Vinnie Falco committed 2019-03-02 07:33:57 -08:00
1 parent dfd3752c23
commit fca4b3ae10
32 files changed
+58 -121

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ snippets()
//[code_websocket_1_3
// The stream will use the strand for invoking all completion handlers
stream<tcp_stream> ws(make_strand(ioc));
stream<tcp_stream> ws(net::make_strand(ioc));
// This overload of accept uses the socket provided for the new connection.
// The function `tcp_stream::socket` provides access to the low-level socket