[ns] throughput

Michele R. mic.rus@libero.it
Thu, 25 Jan 2001 18:06:19 +0100


Messaggio in formato MIME composto da pił parti.

------=_NextPart_000_001F_01C086F9.84B05060
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

i will try to be more clear.
in the marc greis tutorial in the VIII chapter there is an example where =
he writes:

#How many bytes have seen received by the traffic sinks?
set bw0 [$sink0 set bytes_]

and so on...where sink0 is "new agent/LossMonitor"....

but if i have:

 set sink0 [new Agent/TCPSink]  =20

I cannot do what marc greis does!
so what can i do?

------=_NextPart_000_001F_01C086F9.84B05060
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.100" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>i will try to be more =
clear.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>in the marc greis tutorial in the VIII =
chapter=20
there is an example where he writes:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>#How many bytes have seen received by =
the traffic=20
sinks?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>set bw0 [$sink0 set =
bytes_]</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and so on...where sink0 is "new=20
agent/LossMonitor"....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>but if i have:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;set sink0 [new=20
Agent/TCPSink]&nbsp;&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I&nbsp;cannot do what marc greis =
does!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>so what can i =
do?</FONT></DIV></BODY></HTML>

------=_NextPart_000_001F_01C086F9.84B05060--