From: tho Date: Mon, 12 Dec 2011 12:09:15 +0000 (+0000) Subject: Examples: fixed RateStuffer for new clock_type X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=6028e6c9104ba9d76a807a8c3d24abd5c7b294c8;p=senf.git Examples: fixed RateStuffer for new clock_type git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1837 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Examples/RateStuffer/ratestuffer.cc b/Examples/RateStuffer/ratestuffer.cc index b9587d7..81d7735 100644 --- a/Examples/RateStuffer/ratestuffer.cc +++ b/Examples/RateStuffer/ratestuffer.cc @@ -137,7 +137,7 @@ int main(int argc, char * argv[]) senf::INet4SocketAddress("localhost:44345")); module::ActiveSocketSource<> udpSource ( inputSocket ); - RateStuffer stuffer ( 1000000000ul, + RateStuffer stuffer ( senf::ClockService::seconds(1), senf::DataPacket::create(std::string("\n")), 2u, 1u ); module::PassiveSocketSink<> udpSink ( outputSocket );