[mythtv-users] Why only numeric IP addresses work?
Allan Stirling
Dibblahmythml0015 at pendor.org
Tue Oct 12 21:18:38 UTC 2004
Scott Mazur wrote:
> On Tue, 12 Oct 2004 15:53:21 -0400, Joseph A. Caputo wrote
>
>>On Tuesday 12 October 2004 14:12, Scott Mazur wrote:
>>>Is there any plans for Myth to resolve host names?
>
> It's not a network configuration problem. It's reasonable expectation that
> Myth understand domain names as well as IP addresses.
>
> MAN PAGE: GETHOSTBYNAME(3)
>
> The gethostbyname() function returns a structure of type
> hostent for the given host name. Here name is either a
> host name, or an IPv4 address in standard dot notation, or
> an IPv6 address in colon (and possibly dot) notation. (See
> RFC 1884 for the description of IPv6 addresses.) If name
> is an IPv4 or IPv6 address, no lookup is performed and
> gethostbyname() simply copies name into the h_name field
> and its struct in_addr equivalent into the h_addr_list[0]
> field of the returned hostent structure.
>
>
> It's not rocket science.
>
> Scott
>
Great! We await your patch with baited breath.
Cheers,
Allan.
More information about the mythtv-users
mailing list