diff options
author | subtly <subtly@users.noreply.github.com> | 2014-12-19 00:21:06 +0800 |
---|---|---|
committer | subtly <subtly@users.noreply.github.com> | 2014-12-19 00:21:06 +0800 |
commit | b3b4411c4c31d74fe0d7f5f2f85461036cac0f6e (patch) | |
tree | 26a6c29256de0bf5232a714ac129ba04401c81bf /net.cpp | |
parent | 095792cfc8b7f01d98f5c0dd4bca0447ff513c09 (diff) | |
download | dexon-solidity-b3b4411c4c31d74fe0d7f5f2f85461036cac0f6e.tar dexon-solidity-b3b4411c4c31d74fe0d7f5f2f85461036cac0f6e.tar.gz dexon-solidity-b3b4411c4c31d74fe0d7f5f2f85461036cac0f6e.tar.bz2 dexon-solidity-b3b4411c4c31d74fe0d7f5f2f85461036cac0f6e.tar.lz dexon-solidity-b3b4411c4c31d74fe0d7f5f2f85461036cac0f6e.tar.xz dexon-solidity-b3b4411c4c31d74fe0d7f5f2f85461036cac0f6e.tar.zst dexon-solidity-b3b4411c4c31d74fe0d7f5f2f85461036cac0f6e.zip |
spacing
Diffstat (limited to 'net.cpp')
-rw-r--r-- | net.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ public: void doWork() { m_io.run(); } void onDisconnected(UDPSocketFace*) {}; - void onReceived(UDPSocketFace*, bi::udp::endpoint const& _from, bytesConstRef _packet) { if(_packet.toString() == "AAAA") success = true; }; + void onReceived(UDPSocketFace*, bi::udp::endpoint const& _from, bytesConstRef _packet) { if (_packet.toString() == "AAAA") success = true; } ba::io_service m_io; shared_ptr<UDPSocket<TestA, 1024>> m_socket; @@ -73,7 +73,7 @@ public: BOOST_AUTO_TEST_SUITE(p2p) -BOOST_AUTO_TEST_CASE(test) +BOOST_AUTO_TEST_CASE(test_txrx_one) { UDPDatagram d; d.to = boost::asio::ip::udp::endpoint(boost::asio::ip::address::from_string("127.0.0.1"), 30300); |