Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

socat experts?



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






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org