rumor routing implementation
hi friends,when Im executiing this tcl script 1000-wrls-rumor-a30node.tcl to implement rumor protocol i get this output but why udp agent cant find other node
INITIALIZE THE LIST xListHead node(( 9)) send notice to <<0>> in --------------- [sendNotice] 6.50000000::node(( 9)) recv data no route and no notice sending in [rt_resolve], node(( 5)) send notice to <<0>> in --------------- [sendNotice] 6.50000000::node(( 5)) recv data no route and no notice sending in [rt_resolve], channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 550.0 SORTING LISTS ...DONE! node(( 11)) send notice to <<0>> in --------------- [sendNotice] 14.50000000::node(( 11)) recv data no route and no notice sending in [rt_resolve], |
Could you show us the script and describe the network?
|
1 Attachment(s)
ok this is a script
|
@dadi1004 : Why aren't you posting in the previous ns2 "Rumor thread"
09 Apr http://www.linuxquestions.org/questi...pt-4175603424/ ... No reason to start a new thread ... Missing information : Your OS used for doing $ ns 1000-wrls-rumor-a30node.tcl ... You already was told that the file will work with CentOS 6.9 - x86_64 http://ftp.funet.fi/pub/mirrors/cent...64-LiveDVD.iso - |
Quote:
|
Well, the output remarks ( #1 ) are about nodes 9 an 11.
( Same output with 'wrls-rumor-a30node.tcl ). ? Why ? I don't know. May be you can find a solution. P.S. : Please do not quote entire posts. A "one word reference" will do. - |
Quote:
Knudfl i want know if you get the same message with these examples |
Re #7. REPEAT : Do not quote entire posts. A "one word reference" will do.
Quote:
The third : rumor-test3.tcl → Code:
$ ns235-rumor-64 rumor-test3.tcl |
The other two examples 1000-wrls-rumor-a30node.tcl and wrls-rumor-a30node.tcl (Knudfl)
|
Re #8.
1000-wrls-rumor-a30node.tcl and wrls-rumor-a30node.tcl have identical output here. Like yours. Fix nodes 9 and 11 if you want a different text. |
its possible i attache Agent/Rumor instead Agent/Udp
and how can i fix the nodes |
Re #11.
Sorry, I am not a coder. I can sometimes edit small errors in a (tcl) file. Rewriting a file : It's pure luck if I succeed. ns2 Tcl code : You can show your file here https://stackoverflow.com/questions/tagged/ns2 ... And ask your question. Marking the post as ns2 → → [Tag:ns2] ( See the other posts, the Tag is below the posts.) - |
All times are GMT -5. The time now is 05:03 AM. |