Re: [ns] about command "$ns rtmodel-at 1.0 down $n(1) $n(2)"

2011-05-10 Thread ma-haiyuan
>Go to tcl/lib/ns-link.tcl and try renaming lif to if and recompile ns >. it should work then. >Iif ![$var info class Node] { ;# $op on most everything - > if >![$var info class Node] { ;# $op on most everything > >cheers > >2011/5/6 ma-haiyuan : >> &g

[ns] about command "$ns rtmodel-at 1.0 down $n(1) $n(2)"

2011-05-06 Thread ma-haiyuan
Hello everyone! When I do the tutorial for the network simulator "NS" originally developed by Mac Greis, the subsection VI.2, the example can not run on my ns(version 2.31). The error is as follows: invalid command name "Iif" while executing "Iif ![$var info class Node] { ;# $op on most

[ns] error when install ns-allinone-2.1b7a on fedora 8

2009-08-12 Thread ma-haiyuan
Hi! when I install ns-alinone-2.1b7a on Fedora, there is an error which made the installing failed: tclcl-mappings.h: In static member function ‘static int TclObjectHelper::dispatch_(void*, Tcl_Interp*, int, char**)’: tclcl-mappings.h:51: error: incomplete type ‘Tcl’ used in nested name specif

[ns] about the error : "Checking for XFree86-base... NO!" when installing ns2.27

2009-07-31 Thread ma-haiyuan
Hi to all! sorry to bother you ! When I install ns-2.27(allinone),there is a error like this: Checking for perl... ok Checking for w32api... ok Checking for XFree86-base... NO! Package XFree86-base is not present on your system. Please install it using Cygwin's setup.exe before trying to ins

[ns] how to Update your environment variables of ns2.34?

2009-07-28 Thread ma-haiyuan
Hi to all! now we can get the lastest version of NS2 is 2.34. But how to Update your environment variables of ns2.34 after installing it? Thanks!

[ns] how to implement multi-rate multicast congestion control?

2009-07-25 Thread ma-haiyuan
hi to all! please help me! How to implement multi-rate multicast congestion control on winXP+cygwin+ns2.31? I can implement TFMCC, but can not implement SMCC, The receiver con not join the multicast group. 网易YEAH.NET免费邮箱:您的终身免费邮箱

[ns] about the functinn of assert()

2009-06-04 Thread ma-haiyuan
hi to all! I'm making simulation on multicast. In some sources, there is a functi= on: assert(), such as in smcc.cc. void TfmccAgent::increase_rate() { double now =3D Scheduler::= instance().clock(); double mult =3D (now - last_change_) / max_rtt= _; if (mult > 2) mult =3D 2; //print

[ns] Please help mo for SMCC on NS

2009-05-05 Thread ma-haiyuan
hi to all! I am a newer about NS. my interesting is multicast congestion control. I have some problems when I run SMCC[Gu-In Kwon and John W. Byers. Smooth Multirate Multicast Congestion Control.IEEE INFOCOM 2003] I have downloaded SMCC source codes from the writer's websit: http://cs-peo

[ns] please help me about this error

2009-04-01 Thread ma-haiyuan
I'm a newer of NS. I'm making simulations on Multicast. The error message is as follows: (_o3 cmd line 1) invoked from within "_o3 cmd queue-parameter _o17 _o24 2 6" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set c