source routing in NS2
Dear all
If I have to send an entire path in a packet, what is the possible data type for storing the path? I tried to use string and const char* but the paths gets destructed when moved to the next hop. I'm using NS2 simulator.
Can any one help please?
Thank you in advance.
|