hi,

thanx Sita for ur reply..but i meant to find the source in the ".cc" file, 
given a packet p. Do we have to xplicitly find if its a req/rep/data pkt 
and then find the source...or is there any other direct way to do it.

also..regarding ur earlier reply of binding variables..can u be more 
explicit..i have gone thru the ns-doc but i must admit its little 
confusing.

what i want is something like this...

in the sim.tcl (my simulation file)...i have

********************************************
set pbw   [Phy/WirelessPhy set bandwidth_]
set bw  1e6
set cost 12
set delay 25us
********************************************

Now i want to access these params in my "proto.cc" (the main protocol 
implementation) file. How do i go about doing this?

Im near the end of my protocol implementation, so would be helpful if u 
can clarify this.


Thanx,
Vinod
----------------------
Vinod Kone,
Btech,Computer Science,
VIII sem,
Room 177,Kapili,
IIT Guwahati.

Reply via email to