hi all,

iam trying to simulate a transmission of video over wireless at this link
http://140.116.72.80/~jhlin5/ns2/An%20example%20of%20multimedia%20transmission%20over%20a%20wireless%20network.htm

after doing all steps successfuly when i attemp to simulate the example
802_11_video.tcl i got this error


$ ns.exe 802_11_video.tcl
num_nodes is set 2
wired node 0 created
INITIALIZE THE LIST xListHead
Base-Station node 1 created
wireless node 0 created ...
X_:150.06792000000002 Y_:261.17613999999998
app1_start_time:1.018732e-03
app2_start_time:1.667642e+00
Video start..............
can't read "frametype_": no such variable
    while executing
"if { $frametype_ == "I" } {

      set type_v 1

    }      "
    ("while" body line 17)
    invoked from within
"while {[eof $original_file_id] == 0} {



    gets $original_file_id current_line

    scan $current_line "%d%s%d%s%s%s%d%s" no_ frametype_ length_ \..."
    (file "802_11_video.tcl" line 327)

it says there is no framtype_ variable while there is !!!!

so any1 have any idea about how to solve this ?!?!?!?!

thanx in advance !!

p.s. am using ns-2.29allinone ... cygwin/windows xp sp2

Reply via email to