[Ns-developers] New BulkSend application

Gustavo Carneiro gjcarneiro at gmail.com
Fri Sep 3 09:30:40 PDT 2010


On Fri, Sep 3, 2010 at 17:00, Josh Pelkey <jpelkey at gatech.edu> wrote:

> 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.
>

Cool, but my question is, do we really need the BulkSend application, or
just better documentation for OnOffApplication to explain to do bulk send
with it?


>
> [1] http://codereview.appspot.com/2110042/
>
> --
> Josh
>



-- 
Gustavo J. A. M. Carneiro
INESC Porto, UTM, WiN, http://win.inescporto.pt/gjc
"The universe is always one step beyond logic." -- Frank Herbert


More information about the Ns-developers mailing list