[ns]tcp and tcpsink agents to record the pkt_id, send_time,
and receive time
musta fatu
merci_danke at yahoo.de
Sun Jul 17 08:42:22 PDT 2005
Hello ns-user;
ich want to mesure deffirent metrics between wired
node and wireless node.
to get the metrics(deöay.jitter,...) than to parse the
trace file.
i must create another tcp and tcpsink agents to record
the pkt_id, send_time, and receive time.
who already implemented this method (record
pkt_id,send_time,receive_time)?
thanks for your help
TCP traffic between Host3 und mobile node 1:
.............................................
#Setup a TCP von router 3 zu Mobile node 1
#-------------------------------------------------------------
set tcp_h3 [new Agent/TCP]
#$tcp_h3 set class_ 2
#$tcp_h3 set prio_ 2
$tcp_h3 set window_ 64
$tcp_h3 set packetSize_ 1500
$ns attach-agent $W(3) $tcp_h3
set sink_m1 [new Agent/TCPSink]
$ns attach-agent $mobile(1) $sink_m1
$ns connect $tcp_h3 $sink_m1
#$tcp_h3 set fid_ 3
#Setup a FTP over TCP connection
set ftp_h3 [new Application/FTP]
$ftp_h3 attach-agent $tcp_h3
$ftp_h3 set type_ FTP
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
More information about the Ns-users
mailing list