2020-02-05 19:46:28 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
sleep 1
|
|
|
|
echo "sync_barrier_start"
|
2020-02-05 20:48:00 +00:00
|
|
|
nc -v --udp --source 127.0.0.1 --source-port $1 127.13.3.7 $2 --sh-exec '(while true; do sleep 1; echo a; done) & B=$!; read r; kill $B'
|
2020-02-05 19:46:28 +00:00
|
|
|
echo "sync_barrier_release"
|
|
|
|
sleep 10
|
|
|
|
echo "sync_barrier_done"
|