diff options
author | subtly <subtly@users.noreply.github.com> | 2014-12-20 05:14:11 +0800 |
---|---|---|
committer | subtly <subtly@users.noreply.github.com> | 2014-12-20 05:14:11 +0800 |
commit | 4588bfba6655698396cf067d251a849ad4dfd7c1 (patch) | |
tree | dd5c092059e01a6e5ae7513337e27ccf0cee7412 | |
parent | ed9a5e572a8254f1595154e302f51dd242673272 (diff) | |
download | dexon-solidity-4588bfba6655698396cf067d251a849ad4dfd7c1.tar.gz dexon-solidity-4588bfba6655698396cf067d251a849ad4dfd7c1.tar.zst dexon-solidity-4588bfba6655698396cf067d251a849ad4dfd7c1.zip |
initialize atomics so udp messages are delivered on linux #656
-rw-r--r-- | net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ BOOST_AUTO_TEST_CASE(test_txrx_one) d.to = boost::asio::ip::udp::endpoint(boost::asio::ip::address::from_string("127.0.0.1"), 30300); d.data = bytes({65,65,65,65}); - TestA a; a.start(); a.m_socket->connect(); + TestA a; a.m_socket->connect(); a.start(); a.m_socket->send(d); sleep(1); BOOST_REQUIRE_EQUAL(true, a.success); |