diff --git a/t-recv.sh b/t-recv.sh new file mode 100755 index 0000000000000000000000000000000000000000..3de3e2c2fbcfc408683927651b89f1d69e6491e2 --- /dev/null +++ b/t-recv.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# only receive debug messages and on channel "all" +channel=$1 || 'test' +(echo "subscribe" $channel; cat) |socat TCP-CONNECT:127.0.0.1:1986 - diff --git a/t-send.sh b/t-send.sh new file mode 100755 index 0000000000000000000000000000000000000000..bb0021d8a6f8a2029df75c249f32883c23d13840 --- /dev/null +++ b/t-send.sh @@ -0,0 +1,2 @@ +#!/bin/sh +echo "announce" $* | socat - TCP-CONNECT:127.0.0.1:1986 >/dev/null