I'm using ns-3 with direct code execution, working on Ubuntu, and after a while, I got everything to work, but the thing is: I have four nodes with each one binary to run, and some of the binaries take input from me at runtime, via std::cin. (They will then send messages to the other nodes based on the input). I need to get this working inside the ns-3-environment and I couldn't figure out how.
So far, if I start my simulation and it gets to the point where a node with an application starts that is waiting for input (in an endless loop), the whole thing blocks, it doesn't start other applications, it never even stops the simulation. If I just curiously type something and hit enter, it says "relocation error: elf-cache/0/libgcc_s.so.1: symbol dl_iterate_phdr, version GLIBC_2.2.5 not defined in file 0001.so.6 with link time reference" and gives me an exit code 127.
So, naturally I would just find out how to do runtime input in ns3, but I can't find any material on this.