[ns] How to get pointer MyMac from tcl?

2007-07-21 Thread diablo82
I need to create the direct communication beetwen MyAgent and MyMac. I use TclObject::lookup(argv[2]) in command of myAgent to access at pointer of Mac. But $opt(MyMac) from Tcl is รจ string and not a pointer. How to get pointer create in TclClass from Tcl Script? Thank Giuseppe -- View this

Re: [ns] how to get node id in classifier

2007-07-21 Thread rubenjy
It is a normal node, not mobile node. i know classifier is one part of node. but classifier can't get the node id. if i include node.h, it will show some error. I think classifier is one part of node, so can't include it. but how know, the processing classifier is in which node? this is my

[ns] Source Specific Multicast problem

2007-07-21 Thread rubenjy
I used the SSM extension model http://eden.dei.uc.pt/~tandre/ssm_extension/index.htm I found this have one problem. the receiver received multicast data, but the data willn't in agent's recv function (like LossMonitor::recv(...)) but it also have not any error. is somebody knew, where is the

[ns] Why NAM doesn't dispaly the packet dropped because of collision?

2007-07-21 Thread Huang Wei
Hi all, I've been doing wireless simulations these days. I want to show NAM to my colleagues to help them to better know about how RTS/CTS reduce the chance of collisions. But I found NAM doesn't display the packet dropped because of collisions. Why? Here is a line of the trace file and the NAM

[ns] ns 2.2x installing problem

2007-07-21 Thread Elahe Alipour
Hello everyone I installed ns 2.31 without any problem on centos5. but now I have a problem on installing ns allinone 2.28. At first i received this error: *checking system version (for dynamic loading)... ./configure: line 7624: syntax error near unexpected token ')' ./configure: line

[ns] How to Install FHCF on NS-2

2007-07-21 Thread aaa
Hi ns-users, Finally, I managed to resolve the problems with the installation of the fhcf scheme.. If anyone has a problem installing it, i will be more than happy to help :-) Anyways, i will post the right steps for the installation as soon as i have some free time... Best regards, Ashraf