#
# 1 connecting to 3 at time 2.0
#
set udp_(1) [new Agent/CBR/UDP]
$ns_ attach-agent $node_(1) $udp_(1)
set null_(1) [new Agent/Null]
$ns_ attach-agent $node_(3) $null_(1)
$udp_(1) set packetSize_ 48
$udp_(1) set rate_ 4.0e6
$udp_(1) set random_ 1
$udp_(1) set maxpkts_ 10000
$ns_ connect $udp_(1) $null_(1)
$ns_ at 2.0 "$udp_(1) start"


#set tcp [new Agent/TCP]
#$tcp set class_ 2
#set sink [new Agent/TCPSink]
#$ns_ attach-agent $node_(1) $tcp
#$ns_ attach-agent $node_(2) $sink
#$ns_ connect $tcp $sink
#set ftp [new Application/FTP]
#$ftp attach-agent $tcp
#$ns_ at 150.00000000000000 "$ftp start"
