[mythtv-commits] Ticket #274:
MythContext::IsConnectedToMaster(void) doesn't work reliably
MythTV
mythtv at cvs.mythtv.org
Mon Aug 29 20:21:36 UTC 2005
#274: MythContext::IsConnectedToMaster(void) doesn't work reliably
--------------------+-------------------------------------------------------
Reporter: Paul | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: low | Cc: |
--------------------+-------------------------------------------------------
You can't reliably use MythContext::IsConnectedToMaster(void) to
determine if you have a valid connection to the Master Server because it
always returns true after a successful connection has been made even when
the Master Server has gone away.
It means you can't use something like:
{{{
if (!gContext->IsConnectedToMaster())
gContext->ConnectToMasterServer();
}}}
to make sure a connection is still alive.
Paul
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/274>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list