Hi,
I have written an application myApp derived from Application. I have a
node (node_100) and have attached myApp to it. The node also has a Udp
agent attached to it as a sink. When other nodes send packets, though the
trace file shows that the sink received the packets, I am unable to
process it within myApp::process_data. Putting a breakpoint in the method
does not stop in debug mode. Can anyone explain why this is happening? I
am pasting a portion of the tcl code which shows the node and its
connections.

set sink [new Agent/UDP]
$ns_ attach-agent $node_(100) $sink
set myapp [new Application/myApp]
$myapp attach-agent $sink
$ns_ at 0.1 "$myapp start $node_(100)"

Thanks,
Sita



Reply via email to