-----------------------------------------------------------------------------------
Hello friends:
 I 'm a beginner at NS2, and want to do something like this: call NS2
from my C codes(a external system ):  send data to NS2 and then
receive it from NS2.
I don't want to analysis trace file because it is not real time.
  How can I do?  Any example codes?

More Detail:
1)  I program with C language, produce a matrix per 2ms and send to NS2
 2)  NS2 transport the matrix :
      a) From n0 to n1
      b) over TCP
      c) Bandwidth: 1M
      d) Random delay: 3ms(1/3) or 5ms(1/3) or 7ms (1/3)
3) My C program receive matrix from NS2 per 2ms

                                                                    Thanks!
----------------------------------------------------------------------------------

Reply via email to