[j-sim-users] A common question about examples in wireless network
tyanh at ieee.org
Tue Jan 9 01:32:41 CST 2007
A bug is in all these scripts you mentioned. The line (or the similar in
connect -c n3/pktdispatcher/tcp at up -to $tm_/in@
connect -c n3/pktdispatcher/17 at up -to $tm_/in@
since 17 at up is the port pktdispatcher uses to connect to tcpsink.
All the scripts, the tutorial and the GPSR package are modified
accordingly. Let us know if we miss anything. Thanks a lot!
On 1/9/07, Zhi-yuan Li <lzy81 at henu.edu.cn> wrote:
> hi all,
> Recently, I studied some examples in wireless network.
> I had a question to ask you.why it didn't display Throughput?
> The first example: To example2_aodv_n6_tcp1_multihop_PSMOff.tcl,I run
> it ,pop
> up plot1 cwnd window,then pop up plot2 seq# window,finally pop up plot3
> window.But it didn't pop up plot0 Throughput window. the below is part of
> about plot.
> puts "Set up TrafficMonitor & Plotter..."
> set plot_ [mkdir drcl.comp.tool.Plotter .plot]
> set tm_ [mkdir drcl.net.tool.TrafficMonitor .tm]
> connect -c n3/pktdispatcher/tcp at up -to $tm_/in@
> connect -c $tm_/bytecount@ -to $plot_/0 at 0
> connect -c n0/tcp/cwnd@ -to $plot_/0 at 1
> connect -c n3/tcpsink/seqno@ -to $plot_/0 at 2
> connect -c n0/tcp/srtt@ -to $plot_/0 at 3
> The second example: To aodv_n6_tcp3_multi_hop_psm.tcl,I run it,but the
> is the same as the first example.It didn't pop up plot0 Throughput
> other is ok.
> Finally,I run gpsr_n6.tcl,the result is same as above.
> Now I want to display throughput information on plot0 to know traffic
> infomation. how can I do it?
> Thank you!
> January 9
> j-sim-users mailing list
> j-sim-users at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the j-sim-users