socat experts?

Bob BLU blu at scrunch.net
Fri Jan 13 16:02:09 EST 2006


At 03:28 PM 1/13/2006, Josh ChaitinPollak wrote:
> Is there a way to get socat to keep trying, and  
>never say connection refused? Given the nature of UDP communications,  
>its ok if we lose packets, but I want socat to keep trying with new  
>packets.

You could have another program watch socat and if it dies then restart it.

If you think that is a suitable approach you can do it via /etc/inittab.

scat:2345:respawn:sudo -u user /path/to/script





More information about the Discuss mailing list