I am using OMNET++ INET for Ad hoc networks. I want to broadcast my message to all my neighbors in UDP. I have tried all the possible solutions in UDPBasicApp. It broadcasts a message to one node at a time which it chooses randomly if the destination is not fixed (sink). UDPBasicBurstApp also does not send message to all connected nodes.
UDP Broadcast Messages to all nodes in OMNET++
314 views Asked by Rida Hanif At
2
There are 2 answers
0
Conny
On
sorry in my omnet.ini file I have this configuration:
*.configurator.config = xml("") *.configurator.optimizeRoutes = false .host.ipv4.routingTable.netmaskRoutes = ""
I would like to send the UDP packet to multiple end nodes so that they all receive the same packet and not that the end node is chosen randomly. How should I set the destAddress?
Related Questions in C++
- C++ using std::vector across boundaries
- Linked list without struct
- Connecting Signal QML to C++ (Qt5)
- how to get the reference of struct soap inherited in C++ Proxy/Service class
- Why we can't assign value to pointer
- Conversion of objects in c++
- shared_ptr: "is not a type" error
- C++ template using pointer and non pointer arguments in a QVector
- C++ SFML 2.2 vectors
- Lifetime of temporary objects
Related Questions in UDP
- UDP congestion control in NS2
- Packet drops in multicast when multiple instance of listner are running
- Netty loses udp packets at the beginning of the communication
- iOS "NSLocalizedDescription=Broken pipe" Error For UDP
- lua udp not working between computers
- Issues regarding multiplayer networking: input
- Implementing VOIP over udp, what is the approach to take when the player cannot cope up with received packet's speed
- Detecting incoming port for TFTP data?
- Is Winsock error 10054 (WSAECONNRESET) "normal" with UDP to/from localhost?
- PHP UDP socket memory leak
Related Questions in BROADCAST
- Broadcast intent vs multicast listener implementation on Android
- Android RAM usage error with broadcast receiver in service
- What is the proper syntax of using broadcast variables in Spark using Scala?
- Subnetting Difficulty
- Udp broadcast packets is not receive in android
- android.intent.action.BATTERY_OKAY is not working in broadcast receiver, what to do in broadcast receiver?
- How to send in broadcast a sms to all device in a certain network?
- How to broadcast hard key events as system broadcast in android?
- Send UDP broadcast with use of glib
- angular broadcast from directive
Related Questions in OMNET++
- Wave Service Advertisement (WSA) implementation
- Changing model parameters by cPar in other module
- Does OMNet++ support Power6?
- call back (reinstantiation) of a module through another module at run time with change of parameter
- error in final step of veins tutorial
- Broadcasting of Messages in Veins example
- Simulation getting terminated abruptly
- Why does Veins crash when commandSetSpeedMode() is used?
- Changing .cc file doesn't affect the simulation
- What are the units of distance in the MiXiM based Veins simulation scenarios?
Related Questions in APPLICATION-LAYER
- where to put the Business Logic, AppLayer o DataLayer?
- Primary Server and Hot Standby Server architecture
- to clean up on exit or not
- Application level cache in CodeIgniter
- How to avoid services in DtoMappers layer
- UDP Broadcast Messages to all nodes in OMNET++
- How are protocols used encoded in the data send over them?
- Sniffing/recording application layer only
- What application layer protocol is being used when using sockets?
- UDP Broadcast to all nodes
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Just as with a real network: to broadcast to all nodes on your local network you must use the local broadcast address as a destination address.
i.e. if I'm on the network 192.168.0.0 and I have an 8 bit subnet then sending to 192.168.0.255 would broadcast the message.