Hi,

I suppose this can be very easy, but after read the chapter 3 of ns-2 manual:

how to call a TCL command from C++ code?

For instance, I use many commands in .TCL code, just like:

$ns_ at 0.1000000000 "$node_(0) join 0xE000000"

*** How can I do a "join 0xE000000" from the node (using C++)?  ***


I would like to instruct the node (myself) to join in a multicast
group. This call will be done by
an APP attached to the node, but the join will be done by a routing
agent (attached to the same node).

-- 
Sidney Doria
Redes ad hoc móveis
Mestrado em Computação
UFCG
Brasil

"Nessa jornada, o conhecimento será o seu escudo..."
(Mestre dos Magos no episódio do grimoire de ouro)

Reply via email to