Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tested iperf3 example (dce-iperf.cc) with the following two different iperf3 repositories
Iperf3 example with above-mentioned iperf3 code, stucks in an infinite loop when it creates a stream. After exchanging parameter and stream creation it calls select system call to monitor read and write FDs. Once this system call completes, it clears all FDs and thus iperf isn't able to change its state and keep executing the same loop again and again.
I declared clock system call as NATIVE to handle the error shown below.
/home/pg/Desktop/dce/source/ns-3-dce/build/bin/dce-iperf: relocation error: elf-cache/0/iperf3: symbol clock, version GLIBC_2.2.5 not defined in file 0001.so.6 with link time reference Command ['/home/pg/Desktop/dce/source/ns-3-dce/build/bin/dce-iperf'] exited with code 127