[jdev] Small windows incompatibility in jabberd2 resolver\dns.c
Justin Karneges
justin-keyword-jabber.093179 at affinix.com
Thu Apr 7 14:18:43 CDT 2005
Hi Tim,
You might consider sending these comments to the jabberd mailinglist instead.
It's a more appropriate venue for these types of questions, and you're more
likely to get a response. The jdev list is for general questions.
-Justin
On Thursday 07 April 2005 05:32 pm, Tim Anderson wrote:
> As far as funcionality goes, I still haven't tried it to see if it works.
> But from a pure compiling perspective this:
>
> <code>
> for(i = 0; i < 4; i++)
> sa6.sin6_addr.s6_addr32[i] = data->Ip6Address.IP6Dword[i];
> </code>
>
> should probably be this:
>
> <code>
> for(i = 0; i < 16; i++)
> sa6.sin6_addr.s6_addr[i] = data->Ip6Address.IP6Byte[i];
> </code>
>
> As some of the more obscure #define/union stuff doesn't appear to be
> declared in my current ws2tcpip.h. I can't wrap my wee brain around
> everyone's fascination with using obscure #define/union expansions so I'm
> assuming my substition is at least functionally correct. Am I possibly
> using the wrong version of ws2tcpip.h? This doesn't create some evil byte
> order swapping nonsense does it?
>
> Tim
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev
More information about the JDev
mailing list