Hello,
I have created a new agent derived from the Agent class. It is just like
the UDP Agent. The only reason for this new agent is because I want to
process the data within my recv() method. The packet type is PT_UDP. I
have a problem:

- If I do not set the up-target to be my agent, it never reaches my
process_data() method
- If I set the up-target to be my agent, it reaches my process_data() but
there is no trace written about the node to which my agent is connected

How can I rectify this? Why do I have to set the up-target specifically?
Should it not automatically come to my recv()? Since only the recv() is
overwritten in my agent, should tracing not happen as usual? I would like
to process the data locally but still have trace written about the udp
packets received by the node to which my agent is connected. Any help
appreciated.
Thanks,
Sita

Reply via email to