Help:Packets received more than sent

24 views
Skip to first unread message

Ahmed Akram

unread,
Feb 24, 2012, 6:02:33 AM2/24/12
to omnetpp
Hi,
Im using a UDPApp to send packets to a UDPSink on another node.There
are total 2 nodes in the network.The sending nodes sends around 500
packets however the receiving node receives around 11000 packets.I
have tried everything i can.The source code of the .ini is given
below.Please help me out with this.I need to count the packets on the
UDP Application and not on the Mac layer or the mgmt app.Please help
asap.

sim-time-limit = 5s
network =MultiRadio

# number of hosts
*.numHosts= 2

**.udpApp[*].scalar-recording=true
**.endToEndDaly.scalar-recording=true
#**.manetRouting.scalar-recording = true

**.manetmanager.routingProtocol = "DYMO"
**.mac.bitrate = 54Mbps
**.radio.bitrate = 11Mbps
**.radio.sensitivity = -95dBm
**.radio.transmitterPower = 1mW

**.mobileHost[*].mobilityType = "LinearMobility"
**.mobileHost[*].mobility.speed = 0
**.numRadios = 2

**.mobileHost[0].mobility.x = 255
**.mobileHost[0].mobility.y = 364

**.mobileHost[1].mobility.x = 88
**.mobileHost[1].mobility.y = 532

**.mobileHost[0].udpAppType = "UDPBasicApp"
**.mobileHost[*].numUdpApps = 1
**.mobileHost[1].udpAppType = "UDPSink"

**.mobileHost[0].udpApp[0].destAddresses = "mobileHost[1]"

**.mobileHost[*].udpApp[*].localPort = 1234
**.mobileHost[*].udpApp[*].destPort = 1234

**.playgroundSizeX = 1100
**.playgroundSizeY = 1100
**.pMax = 2mW
**.carrierFrequency = 2.4 GHz
**.sat = -110dBm
**.alpha = 2
**.numChannels = 3


**.udpApp[*].messageLength = 0.100B
**.udpApp[*].messageFreq = 0.01s

**.mobileHost[0].wlan[0].radio.channelNumber = 2
**.mobileHost[0].wlan[1].radio.channelNumber = 1

**.mobileHost[1].wlan[0].radio.channelNumber = 1
**.mobileHost[1].wlan[1].radio.channelNumber = 2
Reply all
Reply to author
Forward
0 new messages