Hi Friends. I'm runing GPSR protocol on NS2 (linux). 
I add in "ns-agent.tcl" these commands to declare GPSR agent :

Agent/GPSR instproc init args {
        $self next $args }       
...Agent/GPSR set sport_        0
Agent/GPSR set dport_   0

when i just run the command ns, it shows me this error : 
[code
 omitted beacuse of length]: invalid command name "Agent/GPSR" while 
executing"Agent/GPSR instproc init args {$self next $args}".
Brievly, ns can't understand the "Agent/GPSR". How and in wich file can i 
declare this agent/
Any one can help me ? I'm blocked :(
Thank you .Cordially

                                          

Reply via email to