[ns] Re : Static Routing

2009-05-03 Thread Vibhu Gupta
Dear All, I have designed a Static Routing Agent in NS2. When i try to invoke the downstream object's recv() function with the statement target_-recv(p,(Handler*)0) it gives a segementation fault as the target_ variable is NULl.. Can anyone tell me how to initialize the target_ variable

[ns] Re : Static Routing

2009-05-03 Thread Vibhu Gupta
Dear All, I have designed a Static Routing Agent in NS2. When i try to invoke the downstream object's recv() function with the statement target_-recv(p,(Handler*)0) it gives a segementation fault as the target_ variable is NULl.. Can anyone tell me how to initialize the target_ variable