Add UDP Protocol

bittorrent_connection.cc
send_udp
receive_udp
Line 59 ---> tcl.eval("new Agent/TCP/FullTcp/Newreno);
-------------------------------------------------------------
set udp [new Agent/UDP]
$ns attach-agent $node_(0) $udp
set null [new Agent/Null]
$ns attach-agent $node_(i) $null
$connect $udp $null
$ap attach-agent $udp
-------------------------------------------------------------
for { set i 0 } {$i <$opt(videoflow)} {incr i}
{ set udp($i) [new Agent/myUDP]
$ns attach-agent $node_(0) $udp($i)
$udp($i) set packetSize_$packetsize
$udp($i) set_filename sd_foreman_$i
}

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

Research Project 2021-2023

EUMMAS A2S Conference, 19-25 Dubai 2023, United Arab Emirates

Research Paper 2021