Hi,
I am writting an application too, which is attached to my udp agent
Agent/myUdp, and I have the same problem.
The packet appear in the trace file, but when using the nam, I can't see the
packets flow.
Can anybody help?
Thanks.

Vivid


2007/10/4, Sita S. Krishnakumar <[EMAIL PROTECTED]>:
>
>
> 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
>
>
>
>


-- 
Best Regards!
Vivid Zhang
********************************************
**  Enjoy your time!
**  Enjoy your life!
**  Email: [EMAIL PROTECTED]

Reply via email to