[j-sim-users] A common question about examples in wireless network
Hung-ying Tyan
tyanh at ieee.org
Tue Jan 9 01:32:41 CST 2007
Zhi-yuan:
A bug is in all these scripts you mentioned. The line (or the similar in
other scripts):
connect -c n3/pktdispatcher/tcp at up -to $tm_/in@
should read:
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!
HT
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
> srtt
> window.But it didn't pop up plot0 Throughput window. the below is part of
> .tcl
> 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
> result
> is the same as the first example.It didn't pop up plot0 Throughput
> window.The
> 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
> 2007
>
>
>
>
> _______________________________________________
> j-sim-users mailing list
> j-sim-users at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/j-sim-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.uiuc.edu/pipermail/j-sim-users/attachments/20070109/00cba5d8/attachment.html
More information about the j-sim-users
mailing list