Dear all,
Defining the loss rate in tcl script and ns code gives the different results
(number of sent, received packets). That is, I am defining loss rate in
ns-default.tcl file with the following line;
ErrorModel set rate_ 0.10
For example this gives the following results:
# of tcp packet sent from sender: 1955
# of tcp packet received at receiver: 1935
# of ack packet received at sender: 1722
Or I am defining the loss rate in tcl script with the following line
$ns_ node-config -IncomingErrProc losses_module
-OutgoingErrProc losses_module
proc losses_module {} {
set loss_module [new ErrorModel]
$loss_module set rate_ 0.10
$loss_module unit pkt
return $loss_module
}
For example this gives the following results:
# of tcp packet sent from sender: 5148
# of tcp packet received at receiver: 5116
# of ack packet received at sender: 5027
I am confused with these results. Could you please send your idea for this
issue.
Regards,
Semra
######################################################################
Dikkat:
Bu elektronik posta mesaji kisisel ve ozeldir. Eger size
gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.
Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte,
guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki
gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi
gorusu olmak zorunda degildir.
######################################################################
Attention:
This e-mail message is privileged and confidential. If you are
not the intended recipient please delete the message and notify
the sender. E-mails to and from the company are monitored for
operational reasons and in accordance with lawful business practices.
Any views or opinions presented are solely those of the author and
do not necessarily represent the views of the company.
######################################################################