[ns] I am a new NS2 user, need help

2006-04-26 Thread Chams D
Hi, I am working on my bachelor thesis work with the NS2, and I want to create a new command that sends 1 packet to a specific node, by giving the address of this node as an argument to this function. could you please help me. thank you in advance

[ns] Address confusion !!??

2006-04-26 Thread Chams D
Hi, Can anyone, tell me what is the difference between this 2 types of addresses : ns_addr_t and nsaddr_t thanx Best regards __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

[ns] How to access c++ variable from tcl

2006-04-26 Thread Chams D
Hi I am saving node addresses in an array.I added this instructions in the function recv() of my agent. And I want to access this table from the TCL interpreter. how can I do this ?? thank you __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the

[ns] c++ tcl Array Binding ??

2006-04-27 Thread Chams D
Hi, I know that this topic has been discussed a lot, but I still have no answer. So can anyone tell me if it is possible to bind an array from c++ to tcl . If yes ,how could I do that. thank you __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the

[ns] port number

2006-04-28 Thread Chams D
Hi, can anyone tell me how to use the procedure $node id or $node port ??? and also where are theses methodes implemented, because I need to implement a new method like this. thanx __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam prot

[ns] Warning message

2006-05-04 Thread Chams D
Hi I created a new type of header for my agent and of course I put a new offset that I called off_source_ but when I run my tcl script I obtain this warning message warning: no class variable Agent/Source::off_source_ How can I correct that. Thanx __