[mythtv] allow DNS names as well as IP addresses in server setup

Isaac Richards ijr at case.edu
Sun Mar 6 02:01:15 UTC 2005


On Saturday 05 March 2005 06:33 pm, Anduin Withers wrote:
> > The following patch allows you to put in either hostnames or IP
> > addresses in the BackendServerIP and MasterServerIP fields.
> > I've only minimally tested it, but it seems to work in my setup.
>
> 4. You might want to push it through inet_aton first, only when it is
> invalid push it to gethostbyname (instead of defaulting to a lookup and
> falling back).

Or just use the Qt DNS classes.

Isaac


More information about the mythtv-dev mailing list