aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/udp_zero_copy_asio.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-06-01 17:51:26 -0700
committerJosh Blum <josh@joshknows.com>2010-06-01 17:51:26 -0700
commit212159ca3bc00d233464cd6f9f454e5ac6e08f88 (patch)
tree26ba4df4c4e692face9145c6cc1e77fff8056076 /host/lib/transport/udp_zero_copy_asio.cpp
parentf78cae4911148470f1b5fbf2ff8ea795250419a1 (diff)
downloaduhd-212159ca3bc00d233464cd6f9f454e5ac6e08f88.tar.gz
uhd-212159ca3bc00d233464cd6f9f454e5ac6e08f88.tar.bz2
uhd-212159ca3bc00d233464cd6f9f454e5ac6e08f88.zip
Implemented pirate thread, moved io impl details into io impl cpp file. Fixed bug in bounded buffer push with pop on full.
Diffstat (limited to 'host/lib/transport/udp_zero_copy_asio.cpp')
-rw-r--r--host/lib/transport/udp_zero_copy_asio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/udp_zero_copy_asio.cpp b/host/lib/transport/udp_zero_copy_asio.cpp
index 4402437f3..190e3f9ce 100644
--- a/host/lib/transport/udp_zero_copy_asio.cpp
+++ b/host/lib/transport/udp_zero_copy_asio.cpp
@@ -28,7 +28,7 @@ using namespace uhd::transport;
* Constants
**********************************************************************/
static const size_t MIN_SOCK_BUFF_SIZE = size_t(100e3);
-static const size_t MAX_DGRAM_SIZE = 2048; //assume max size on send and recv
+static const size_t MAX_DGRAM_SIZE = 1500; //assume max size on send and recv
static const double RECV_TIMEOUT = 0.1; // 100 ms
/***********************************************************************