I had exactly the same error the other day. Try these lines of code, they worked for me: ------------------------------------------- #specify your routing protocol set mproto DM #tell all nodes to contain multicast protocol agents set mrthandle [$ns mrtproto $mproto] ------------------------------------------- I think this problem arises when you tell your script to create a multicast group and then don't create any nodes that can join this group. I got this code from the ns manual: http://www.isi.edu/nsnam/ns/doc/ns_doc.pdf Page 259 has a good simple multicast example Hope this helps, Nick >Message: 2 >Date: Fri, 24 Feb 2006 12:29:46 +0000 (GMT) >From: Kavi priya K <[EMAIL PROTECTED]> >Subject: [ns] Multicast error >To: [email protected] >Message-ID: <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=iso-8859-1 > >Hai all, > I use multicasting for my project work. When I ran my tcl >scripts, I got an error as > > > ns: _o16 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 "_o17" line 9) > (mrtObject upcall line 9) > invoked from within > "$mrtObject_ upcall $code $src $group $iface" > (procedure "_o11" line 3) > (Node new-group line 3) > invoked from within > "$node_ new-group $src $group $iface $code" > (procedure "_o16" line 3) > (Classifier/Multicast new-group line 3) > invoked from within > "_o16 new-group 0 -2147483648 -1 cache-miss" > > > I can't understand the error.Can anyone help me? > > Thanks. --------------------------------- Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. ------------------------------ ****************************************
