[mythtv] mythbackend and mythlcdserver broken at the moment?

Isaac Richards ijr at case.edu
Tue Jul 1 20:20:43 UTC 2008


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.

Isaac


More information about the mythtv-dev mailing list