[mythtv] mythbackend and mythlcdserver broken at the moment?
mythtv at dsl.pipex.com
Tue Jul 1 21:12:44 UTC 2008
Isaac Richards wrote:
> On Tuesday 01 July 2008 4:20:43 pm Isaac Richards wrote:
>> On Tuesday 01 July 2008 3:51:42 pm Isaac Richards wrote:
>>> On Tuesday 01 July 2008 2:36:51 pm Paul Harrison wrote:
>>>> There is of cause some easy fixes for this - change the default in
>>>> lcddevice.cpp to use 127.0.0.1 or a more generic fix would be to add a
>>>> special case in MythSocket::connect(const QString &host, Q_UINT16 port)
>>>> to check host for 'localhost' or maybe do a QHostInfo::fromName () if
>>>> the QHostAddress::setAddress() fails?
>>> I'm planning on just adding a localhost workaround to
>>> MythSocket::connect. Or, maybe the hostname lookup stuff isn't broken in
>>> qt4 like the qt3 version was..
>> Yeah, it looks like we can use QHostInfo::fromName() - it's blocking and
>> doesn't involve the Qt event loop like the qt3 version did.
> Does the attached patch work? I can't test at the moment.
Yes thanks Isaac - Changed everything back to use localhost and it is
working fine. I can see from the '-v network,socket' output the lookup
is working OK.
More information about the mythtv-dev