Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Jan 20, 2025
1 parent 5b1fad1 commit 4b1bba5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nano/node/transport/tcp_socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
*/

nano::transport::tcp_socket::tcp_socket (nano::node & node_a, socket_endpoint endpoint_type_a) :
tcp_socket{ node_a, boost::asio::ip::tcp::socket{ node_a.io_ctx }, endpoint_type_a }
node_w{ node_a.shared () },
node{ node_a },
strand{ node_a.io_ctx.get_executor () },
task{ strand },
raw_socket{ node_a.io_ctx.get_executor () },
endpoint_type_m{ endpoint_type_a }
{
start ();
}
Expand Down

0 comments on commit 4b1bba5

Please sign in to comment.