Hi ALL...
Can someone tell me? I want to simulation mpeg-2 video transmission with
the CBR+UDP. The frames of the MPEG traces are packetized to 188 bytes. A
ethernet fame have date is 1316 bytes(7*188 bytes).
The TCL code is below. And I have to question.
1.Is the parameters in below code correct?
2.Does "$udp1 set packetSize_ 1316" contain UDP header?
set udp1 [new Agent/UDP]
$udp1 set class_ 1
$udp1 set packetSize_ 1316
$ns attach-agent $source1 $udp1
set cbr1 [new Application/Traffic/CBR]
$cbr1 attach-agent $udp1
$cbr1 set packetSize_ 188
$cbr1 set type_ CBR
$cbr1 set rate_ 3mb
___________________________________________________________________
體驗全新Yahoo!奇摩電子信箱2.0 - 馬上體驗!