[Ns-developers] New BulkSend application

Josh Pelkey jpelkey at gatech.edu
Fri Sep 3 09:00:36 PDT 2010


Hi all,

We have created a simple new "BulkSend" application [1].
BulkSendApplication sends data as fast as possible up to MaxBytes or
unlimited if MaxBytes is zero. Think OnOff, but without the "off" and
without the variable data rate.

This application could be used, for example, in
examples/tcp/tcp-large-transfer, in place of all the code which
manually sets up a socket and writes until the buffer is full, etc.
It was initially created to help beginner ns-3 users for a class
project.  OnOffApplication didn't feel right to use, and setting up a
socket and writing to the buffer was too difficult.

I thought I'd put this up for review before we merged it.  It is
pretty simple though -- almost a cut and paste of OnOff with minimal
changes.

[1] http://codereview.appspot.com/2110042/

--
Josh


More information about the Ns-developers mailing list