I am writing a tiny simulator for wireless networks in a PC(linux).
The network will consist of several nodes, and any one might send data to any other.
I thought of named pipes, but that might make the simulator more of a wired like feel.
In a wireless network, every packet(including unicast) is actually a broadcast with respect to the transmission medium. However only nodes within reception range will be able to receive the packet. To phrase that in IPC terms, there are several processes/threads, however data written by a particular process/thread is visible only to a subset of other processes. I should be able to control which nodes are part of this subset.
What is the best choice IPC to do the same?