Link to home
Start Free TrialLog in
Avatar of dissolved
dissolved

asked on

Anyone here use the TTCP program before?

I cant find any good documentation that explains the commands. I'm running it this way.

On the receiver:
ttcp -rs -l1024 -n10 -p4444


On the sender:
ttcp -ts -l1024 -n10 -p4444 dest_ip_here


Can anyone tell me what the -l switch and the -n switch do?  (in layman terms). I know it has something to do with packet length. Right?
Also, feel free to elaborate and give any pertinent info you think may help.
thanks
Avatar of yuzh
yuzh

-l    length of bufs written to network (default 1024)
-n   number of bufs written to network (-s only, default 1024)

see http://sd.wareonearth.com/~phil/net/ttcp/ for more details.

also:
man ttcp



Avatar of dissolved

ASKER

so -l is the amount of data we're writing to the other machine? and -n is the amount of times we're writing the data?
ASKER CERTIFIED SOLUTION
Avatar of yuzh
yuzh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, just for clarifications sake:

-l is the amount of data we're writing to the network PER PACKET?

-n is the number of times this data is being sent?  I know you said the number of times the buffer will be transmitted. But is that the same thing as sending it? (since it will go in the sender's receive buffer anyway)?

Thanks man
yes.