[mythtv-users] MythLED Picture
David George
david at thegeorges.us
Thu Jan 27 18:52:25 EST 2005
On 01/27/2005 05:24 PM, Asciimonster wrote:
> David George wrote:
>
>> I thought about adding a thread to the backend to do this, but
>> figured it would be better to have a separate processes that asks the
>> backend for the info. First by doing it this way we can have
>> multiple LED boxes (one for each frontend). Also I wanted to have
>> the ability for the box to detect if the backend is ever unavailable.
>
>
> I have not a really clear picture about how the front- and backends
> communicate, but if we use the TCP/IP connection the backend would
> have the unavailability option already (asynchronous socket error),
Yep, that is how it detects the backend going away. If we can't connect
to the backend we assume it is down. Of course it could be running fine
and we just don't have a net connection to it, but hey nobody's perfect :-)
> plus it will solve most of the protocol questions. You could also
> choose to run a secundary protocol on onother port.
No real need to. The backend has the information we need, so we can
just query it.
--
David
More information about the mythtv-users
mailing list