diff options
author | Josh Blum <josh@joshknows.com> | 2010-03-16 17:54:54 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-03-16 17:54:54 -0700 |
commit | 6458eca9540f11fb8dd5bee184e6124998023c4f (patch) | |
tree | 17d69f06e918b346e50e4b3aad24a1da071fd2cf /host/lib/transport/udp_simple.cpp | |
parent | 52dc73891474827a9c686f73cbfe70618a2dd6e4 (diff) | |
download | uhd-6458eca9540f11fb8dd5bee184e6124998023c4f.tar.gz uhd-6458eca9540f11fb8dd5bee184e6124998023c4f.tar.bz2 uhd-6458eca9540f11fb8dd5bee184e6124998023c4f.zip |
Added recovery app to use raw socket to burn known ip addr.
Fixed up fw so the device can reply after new addrs are set.
Diffstat (limited to 'host/lib/transport/udp_simple.cpp')
-rw-r--r-- | host/lib/transport/udp_simple.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/udp_simple.cpp b/host/lib/transport/udp_simple.cpp index 7004bdfdf..3c8ecb70d 100644 --- a/host/lib/transport/udp_simple.cpp +++ b/host/lib/transport/udp_simple.cpp @@ -38,7 +38,7 @@ static void reasonable_recv_timeout( boost::asio::ip::udp::socket &socket ){ boost::asio::deadline_timer timer(socket.get_io_service()); - timer.expires_from_now(boost::posix_time::milliseconds(50)); + timer.expires_from_now(boost::posix_time::milliseconds(100)); while (not (socket.available() or timer.expires_from_now().is_negative())){ boost::this_thread::sleep(boost::posix_time::milliseconds(1)); } |