linux-fax-stack/docker/t38modem/services/socat.sh

7 lines
121 B
Bash
Raw Normal View History

2024-12-20 14:53:12 +00:00
#!/usr/bin/env bash
# $1: PTTY ID
# $2: TCP server port
socat -d -d "file:${1},raw,echo=0" "TCP-LISTEN:${2},reuseaddr"