Computernetwork Program 2
Computernetwork Program 2
#Create a ns simulator
#Create 6 nodes
puts "node [$node_ id] received ping answer from $from with round-trip-time $rtt ms."
#creating Ping
#sending Process
#Finish Procedure
proc finish {} {
$ns flush-trace
close $tracefile
close $namfile
exit 0
$ns run
AWK Program
BEGIN {
count=0;
event=$1;
if(event=="d") {
count++;
END {