%description:
Test using a long transmission and lossy channel (TCPRandomTester).
Here: packet loss (5% of packets), and packet delays (20% of packets, by
mean=1s)

%inifile: {}.ini
[General]
#preload-ned-files = *.ned ../../*.ned @../../../../nedfiles.lst
ned-path = .;../../../../src;../../lib
network=TcpTestNet2

#omnetpp 5.0 - 5.1 compatibility:
eventlog-file = "${resultdir}/${configname}-${runnumber}.elog"
output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca"
output-vector-file = "${resultdir}/${configname}-${runnumber}.vec"
snapshot-file = "${resultdir}/${configname}-${runnumber}.sna"

#[Cmdenv]
cmdenv-express-mode=false
cmdenv-event-banners=false
#cmdenv-module-messages=false

#[Parameters]
*.testing=true

####cmdenv-log-prefix=""

*.cli_app.tSend=1s
*.cli_app.sendBytes=655360B  # 640K

*.tcptester.pdelete=0.05
*.tcptester.pdelay=0.2
*.tcptester.delayValue=exponential(1)

include ../../lib/defaults.ini

%#--------------------------------------------------------------------------------------------------------------
%contains: stdout
Calling finish() at end of Run #0...
TcpTestNet2.cli_app: received 0 bytes in 0 packets
TcpTestNet2.cli_tcp: finishing with 1 connections open.
TcpTestNet2.srv_tcp: finishing with 1 connections open.
TcpTestNet2.srv_app: received 655360 bytes in 447 packets
[293.525] tcpdump finished, A:727 B:523 segments

End.
%#--------------------------------------------------------------------------------------------------------------
%not-contains: stdout
undisposed object:
%#--------------------------------------------------------------------------------------------------------------
%not-contains: stdout
-- check module destructor
%#--------------------------------------------------------------------------------------------------------------
