From 0f341fe7f092f704e1c1952c72085eb1ebd2086a Mon Sep 17 00:00:00 2001 From: Determinant Date: Wed, 14 Nov 2018 15:19:32 -0500 Subject: use ThreadCall pattern --- test/test_p2p.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/test_p2p.cpp') diff --git a/test/test_p2p.cpp b/test/test_p2p.cpp index 4146fd9..f52f48f 100644 --- a/test/test_p2p.cpp +++ b/test/test_p2p.cpp @@ -139,6 +139,9 @@ int main() { alice.reg_handler(on_receive_ack); bob.reg_handler(on_receive_ack); + alice.start(); + bob.start(); + alice.listen(alice_addr); bob.listen(bob_addr); -- cgit v1.2.3