[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] question regarding PGM for ns
That means ns doesn't recognize Agent/Mcast/PGM.
You might want to check whether the procedure of creating agent PGM is correct.
http://www.isi.edu/~salehi/ns_doc/node5.html
- Hyunah
Darshant Bhagat wrote:
> Hi,
> I am trying to get PGM running for the latest version of ns.
> i integrated the old .tcl files( ns-default.tcl, ns-packet.tcl,
> ns-node.tcl , ns-lib.tcl) that come with the contributed module to
> the latest .tcl files in ns/tcl/lib. Also i have pgm.tcl in ns/tcl/mcast.
> I am trying to run the test file binary-pgm.tcl ( Attached here ) and am
> getting the following error.
>
>
> invalid command name "Agent/Mcast/PGM"
> while executing
> "Agent/Mcast/PGM instproc init { protocol } {
> $self next
> $self instvar proto
> set proto $protocol
> }"
> (file "tcl/mcast/pgm.tcl" line 40)
> invoked from within
> "source.orig tcl/mcast/pgm.tcl"
> ("uplevel" body line 1)
> invoked from within
> "uplevel source.orig $fileName"
> (procedure "source" line 12)
> invoked from within
> "source tcl/mcast/pgm.tcl "
> (file "binary-pgm.tcl" line 5)
>
> Can somebody please help me regarding this.
>
> thanks,
> Darshant.
>
> ------------------------------------------------------------------------
>
> Name: binary-pgm.tcl
> binary-pgm.tcl Type: Plain Text (TEXT/PLAIN)
> Encoding: BASE64
> Description: test tcl file