%description: SUT is a server, i.e. it opens a socket, sends 1000 bytes, receives 500 bytes and closes the socket. %#-------------------------------------------------------------------------------------------------------------- %#-------------------------------------------------------------------------------------------------------------- %inifile: omnetpp.ini [General] network = PacketDrillUdp debug-on-errors = true tkenv-plugin-path = ../../../etc/plugins ned-path = .;../../../../../src;../../lib **.scriptFile="../../udptests/udpSendRecv.pkt" **.pdhost.tunApp[0].typename = "PacketDrillApp" **.pdhost.numUdpTunApps = 1 **.hasTun = true **.pdhost.numTunInterfaces = 1 **.pdhost.tunApp[0].localPort = 1000 **.pdhost.tunApp[0].remotePort = 2000 **.pdhost.tunApp[0].localAddress = "192.168.0.1" **.pdhost.tunApp[0].remoteAddress = "192.168.0.2" **.startTime = 2s **.pdhost.routingTable.routingFile = "../../lib/pdhost.mrt" **.pdhost.numPcapRecorders=1 **.pdhost.pcapRecorder[0].pcapFile="udpSendRecv.pcap" **.pdhost.pcapRecorder[0].moduleNamePatterns="tun[0]" **.pdhost.pcapRecorder[0].sendingSignalNames="packetSentToUpper" **.pdhost.pcapRecorder[0].receivingSignalNames="packetReceivedFromUpper" **.pdhost.pcapRecorder[0].alwaysFlush = true %#-------------------------------------------------------------------------------------------------------------- %not-contains: test.out Packetdrill error: %#--------------------------------------------------------------------------------------------------------------