Re: [ns] rtproto Manual

2007-08-01 Thread Alexandre Malhão
I got the solution for those who are interested. Instead of using : $n1 add-route-to-adj-node -default $n2 you should use: [$n1 get-module "Manual"] add-route-to-adj-node -default $n2 Reply message to myself. lol Best regards. Alexandre Malhão escreveu: > Hi, > > Does

[ns] rtproto Manual

2007-08-01 Thread Alexandre Malhão
$errorInfo error "error when calling class $cls: $args" $..." (procedure "_o16" line 2) (SplitObject unknown line 2) invoked from within "$n0 add-route-to-adj-node -default $n1" (file "test.tcl" line 70) What could be my problem?? Best regards, Alexandre Malhão

[ns] Problem with agent_port_

2007-07-17 Thread Alexandre Malhão
Hi again, I had a problem trying to change my agents ports. Does anyone know how can I solve it? Best regards, Alexandre Malhão #Setup a TCP connection set tcp [new Agent/TCP] $ns attach-agent $n0 $tcp $tcp set agent_port_ 3 set sink [new Agent/TCPSink] $ns attach-agent $n3 $sink $sink set

[ns] Set Address and port

2007-07-17 Thread Alexandre Malhão
Hi, I have my own application associated to an agent. This application is creating packets, and as I far as I know the packets port is created as a default value. Is there a way to change this port address in tcl? Best regards, Alexandre Malhão

[ns] Set Address & Port

2007-07-17 Thread Alexandre Malhão

[ns] Call function of an agent

2007-06-28 Thread Alexandre Malhão
Hi, I have my own agent class in ns. Is there any way for me to call a function inside this agent class from another class?? Best regards, Alexandre Malhão

[ns] insert-entry - Node

2007-06-08 Thread Alexandre Malhão
Hi, I'm making a derived class of Connector. Now I need to use "insert-entry" method of Node to insert my class at the entry point of any node. What changes do I need to make inside tcl/lib/ files and common/ ? Best regards, Alexandre Malhão

[ns] Catch packets in any node

2007-06-06 Thread Alexandre Malhão
Does anyone know how to do it?? I'm quite desperate, so I would be very greatful if anyone could help me please. Best regards, Alexandre Malhão

[ns] How to distinct classifiers?

2007-05-24 Thread Alexandre Malhão
Hi! When I create 4 nodes I also create 4 classifiers. My quastion is, how can I distinct them? Is there any id associated? Regards, Alex

[ns] Set eclipse

2007-05-17 Thread Alexandre Malhão
Hi, Can anybody help me to set the eclipse up, for ns2 debugging use. Eclipse is already installed, I just need to configure it the right way. I used to debug ns by using the commands: ./configure -> make clean -> make. How can I save time by using eclipse? Best regards, Alex

[ns] Use my own tcl files

2007-05-07 Thread Alexandre Malhão
first but modified by me). How can I do that? Having the solution for this I would like to know how can I use my own .cc files (classifierBC.cc for example, instead of classiefier.cc). I'd be very greatful if somebody could help me out. Best regards, Alexandre Malhão