You can send 50 million packets to TCP destination port 84 with
trafgen but you will need
to modify the destination port in the configuration file and set --num 50000000
/* TCP Dest Port */
  c16(84),

Though, if you need a _real_ TCP stream (two-way) you should use iperf
as Daniel mentioned previously.
Trafgen does not handle TCP streams (higher-level), it's a low-level
packet generator.

On Wed, Mar 6, 2013 at 9:44 AM,  <[email protected]> wrote:
> my purpose is to test my Tcp read packet program locally.
> I would like to know the command to execute to send 50 M packets locally to 
> see at what speed my program can read and decode packets.
>
> I am just needing trafgen to bench my program on port 84 but I don't know how 
> to tell trafgen to send all thoses packets as if it was real traffic
> what command to use?
>
> thanks
>
> --
> You received this message because you are subscribed to the Google Groups 
> "netsniff-ng" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to