On Saturday 05 March 2005 09:07 pm, Eric Cooper wrote: > On Sat, Mar 05, 2005 at 09:01:15PM -0500, Isaac Richards wrote: > > 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. > > I looked at that, but version 3 Qt only has asynchronous DNS lookups > that would require a more global change -- it was much less invasive > to use C's gethostbyname. The version 4 Qt DNS class has a > synchronous call that would be cleaner.
It's rather easy to make it synchronous. gethostbyname2 isn't portable. Isaac _______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
