揮発性のメモ2

http://d.hatena.ne.jp/iww/

socatで "exactly 2 addresses required (there are 1)" というエラー

$ socat UDP-LISTEN:5001,fork,reuseaddr
2020/05/23 06:50:01 socat[22259] E exactly 2 addresses required (there are 1); use option "-h" for help


socat の根本的な基本の構成は、次のように2つのアドレスが必要

socat <入力> <出力>

つまり出力を書き忘れてる

$ socat UDP-LISTEN:5001,fork,reuseaddr stdout