uneven distribution of received packets using different ways to define "destAddresses"

21 views
Skip to first unread message

Charis Ch

unread,
Dec 4, 2016, 6:07:19 PM12/4/16
to OMNeT++ Users
Hi friends,

I'm trying to simulate a large network with many IP addresses. I create traffic using UDP applications. The problem I am facing is that when I give the destination addresses like **.udpApp[*].destAddresses = moduleListByNedType("inet.node.inet.StandardHost") or **.udpApp[*].destAddresses = moduleListByPath("...") the UDP apps are sending the same number of messages but are receiving exponentially decreasing number of messages as the destination is further from the source. BUT if I define the destination addresses like **.udpApp[*].destAddresses ="ComputingServer[0] ComputingServer[1] etc..." namely with the module names separates by commas, I get exactly the same number of received packets, which is the expected behaviour. I would have no problem to use this way, but when I do I cannot process scalar and vector files due to the fact that the enormous string containing the dest.addresses appears in the scalar and vector files and I get the error "cannot tokenize lines larger than...". I tried to change the values written in scalar or vector files but I haven't managed to remove the dest.address parameter. 

If you could help with any of those problems you would make me a very happy man!

Charis Ch

unread,
Dec 6, 2016, 5:45:13 PM12/6/16
to OMNeT++ Users
I think that the first part of my question regarding the uneven distribution of packets is indeed a bug. 
Reply all
Reply to author
Forward
0 new messages