I am using the TCP binding (1.9.0 whih handles TCP reconnection) for LIRC communication with a remote computer. I want to trigger task that would reset the LIRC service in case TCP communication fails (restart remote computer and service).
Any way to catch connection / disconnnection TCP binding? Parsing the log? How? Other way to do it?
More generally, if this is not the case already, it would be nice if bindings were able to send ‘status’ message for such particular events (errors, warning or initialization / unloading).