Omnet++/INET framework: how to set and use UDP simulated applications -


in our simulation trying simulate lisp mobile protocol inet framework 1 mobile node , 1 fixed node (a correspondent node not mobile) exchanging udp packets. that's why decided use udpbasicapp simulated application , gave both nodes.

the problem see no udp packet generated , initialize() method inside udpbasicapp called more once.

this because addresses array inside class empty , returns without scheduling new events.

the problem how know ip addresses of nodes can write them inside .ini file. know how?

it totally ok use module names in destaddress parameter (instead of ip adresses). inet can resolve domain names resolved in real life.

if want configure hosta send data hostb, use:

*.hosta.udpapp[0].destaddresses = "hostb" 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -