[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] exchange between two agents on same node?



hi all,
  I want to simulate a topo like that:

1-----2------3
      |
      |
      4
1 sends pkt to 4. when pkt arrives 2, 2 will do some negotiation with 3,
probably changing the pkt. And then forward pkt to 4.
I want to make two new agents, one for transport and the other for negotiation.
But how will the two agent communicate with each other? 
with one agent,  2 has to delay the pkt forwarding to 4 . After negotiation with 3,
2 will forward pkt to 4, how to do this? 
Or anyone has better method?  
   
 thanks in advance.

_____________________________________________
IP������������ˮ��  http://shopping.263.net/category08.htm
NO.5��ˮ��ӭ������  http://shopping.263.net/perfume/