Artificial intelligent assistant

tell socat to stop on connection refuse with fork enabled I'm using this instruction to forward a port to another, both on a local machine: socat -d -d TCP4-LISTEN:80,reuseaddr,fork TCP4:127.0.0.1:8000 I need to keep the port open unless the destination port get closed (connection refuse). Is it possible to ask `socat` to terminate on connection refuse (with fork enabled)?

AFAIK this is not possible with current versions

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 3356af1d2000d87b81aca14eacf63c0f