[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] target_
Hello, all,
I defined a new routing agent, in the recv() function of this agent, I
want to send the packet to another agent,
I modified the ~ns/tcl/lib/ns-lib.tcl, to
change the target of the my new routing agent to be the diffusion agent.
say,
$my_new_routing_agent target $diffusion_agent
so when I call "send( packet, handler )" in "recv()" function of my
new_routing_agent, it is supposed be sent to the target, i.e., recv()
function of the diffusion_agent. However, the diffusion agent never
received the packet. when I traced it, I found the packet first arrived in
CMUTrace::recv(), then LL:recv()..
Anyone have any idea why this happens? and if from the routing agent, I
want to send the packets to a particular target agent, what should I do?
Thanks a LOT in advance!!!!
yan