$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] asio UDP message packet loss even on localhost?
From: Igor R (boost.lists_at_[hidden])
Date: 2010-10-22 08:42:58
> I'm having a very basic issue: when sending a large number of UDP
> messages in short succession via boost::asio, even to localhost, after a
> few hundred messages, there seems to be a serious loss.
>
> please see a sample code here: http://pastebin.com/Bq0DnkeG
I run your code (Win7, MSVC10, boost 1.44), and I can't reproduce the
issue you describe, the output is always:
b sent 2000 messages
a received 2000 messages
Anyway, if I read your code correctly, you assume that all these
messages should be sent/received within 1 second, don't you? What if
you increase this value?