[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [PATCH] socket stuff
From: Thiago Macieira <thiagom () wanadoo ! fr>
Date: 2002-02-10 23:46:10
[Download RAW message or body]
Malte Starostik wrote
>It does link to kdecore.
>I'm not sure how to do it the Right Way though, there are two uses of
>gethostbyname():
>
>One is supposed to be used from the proxy script and according to Netscape's
>PAC documentation it is supposed to return a dotted quad or undefined if the
>host doesn't resolve. So, I'm not sure how any of the scripts out there will
>react should that function return an IPv6 address...
>
>The other use is in kpac_dhcp_helper, which is used for DHCP based automatic
>proxy discovery. This protocol is also only defined for IPv4 (I don't know
> if there is something like DHCP for IPv6, but here it's definately not
> supported) - the address returned by gethostbyname() is used as the client
> address sent to the DHCP server, and the message sent there has strict 4
> bytes for the IP
There is DHCPv6, but I haven't even got the chance to put my hands on such a
server or client.
But, given that the specification is for IPv4 only, I don't see harm in
leaving gethostbyname() there.
Thanks for the info!
--
Thiago Macieira - UFOT Registry number: 1001
thiagom@mail.com
ICQ UIN: 1967141 PGP: 0x8F2978D5 and 0xEA9037A5 (PGP 2.x)
Registered Linux user #65028
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic