Re: AF_INET6 sockets and IPv4 connections, etc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/11/11 8:25 PM, Jerry James wrote:
> On Tue, Jan 11, 2011 at 1:46 PM, Philip Prindeville <philipp_subx@xxxxxxxxxxxxxxxxxxxxx <mailto:philipp_subx@xxxxxxxxxxxxxxxxxxxxx>> wrote:
>
>     so how can I tell in a couple of lines of code if the connection will result in IPv4?
>
>
> I'm not entirely sure what you're talking about.  What software are you attempting to patch, for example?  But anyway, is the IN6_IS_ADDR_V4MAPPED macro in <netinet/in.h> what you are looking for?

Yeah, that was it.  I started grepping around the glibc sources and eventually figured it out.

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux