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
$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
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
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
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
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
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
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
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
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
11 matches
Mail list logo