Dear all,
   
  Usually, we connect data sources and destinations using the cnfiguration tcl 
script, that is using the following code:
   
  //Connect sink with udp agent located at the source
   $ns_ connect $udp_($i) $sink_($i)
   
  Traffic generation scenarios can change the set of source/destination pairs 
during run time via Tcl. However, I am looking for a method to change the 
destination address with which a source is connected during runtime using C++. 
In other words, similar to assocciation with BS, I want to anable a node to 
select one of the available destinations and route the data toward that 
destination. Anybody have an idea about this matter or have worked with a 
similar concept? any help will be highly appreciated.
   
  Thanx,
   
  Ghada

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to