Hello to everyone,
I'm a complete noob at NS but I've checked some tutorials, run a couple of
tcl examples but I still can't combine all these so as to do what I want.
That is to create an RTP session between 2 nodes. The connection between
them has to be wireless. I'm trying to do the same things as shown in 2
examples of /ns-2.34/tcl/ex, simple-wireless.tcl and simple-rtp.tcl. I get
this weird error but I haven't found anything on the web:
num_nodes is set 2
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
ns: _o19 new-group 0 -2147483648 -1 cache-miss: can't read "protocols_(-1)":
no such variable
while executing
"$protocols_($iface) upcall $code $source $group $iface"
(procedure "_o20" line 9)
(mrtObject upcall line 9)
invoked from within
"$mrtObject_ upcall $code $src $group $iface"
(procedure "_o14" line 3)
(Node new-group line 3)
invoked from within
"$node_ new-group $src $group $iface $code"
(procedure "_o19" line 3)
(Classifier/Multicast new-group line 3)
invoked from within
"_o19 new-group 0 -2147483648 -1 cache-miss"
I think it has to do with the function mrtObject instproc upcall in the file
/ns-2.34/tcl/mcast/McastProto.tcl
but I'd like to know what I've got to do about it. I saw that RTP stuff is
still undocumented (http://www.isi.edu/nsnam/ns/doc/ns_doc.pdf).
I would really appreciate any help/hint/suggestion.
Thank you :-)
http://old.nabble.com/file/p31407109/rtpwi.tcl rtpwi.tcl
--
View this message in context:
http://old.nabble.com/RTP-over-wireless-connection-between-two-nodes-tp31407109p31407109.html
Sent from the ns-users mailing list archive at Nabble.com.