- Use ${CXX} instead of explicit clang in the Makefile.
- More explanations.
- Use socat's fork option instead of a bash loop.
- Adds a run_* script for each example.
- Remove the useless "sleep" option in service2.
7 lines
113 B
Bash
Executable file
7 lines
113 B
Bash
Executable file
|
|
./service1 data out &
|
|
PID_SERVICE=$!
|
|
|
|
socat -v -u TCP-LISTEN:8423,reuseaddr,fork PIPE:./data
|
|
|
|
kill $PID_SERVICE
|