Mailing List archive

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

[vdr] how detect vdr has closed socket in c++?



As to allow to set a small SVDRP-timeout without kvdr loosing a command - how 
to detect if vdr has closed the socket?

I tried to check errno after calling write(), but this helps just after the 
second write()-operation on the socket and then it's too late.
Some other way i missed?

I ask, because many programs like to use SVDRP at once and i like to make kvdr 
intelligent enough to reconnect silently and fast without loosing an action.



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index