In firebird.conf it says:

# IPv4 and IPv6. Default is false on POSIX systems, true on Windows.
# On Windows, "false" value can only be used since Windows Vista.

Why it's different in POSIX and Windows? And why the default in Windows
is something not accepted after Vista?

But I then see in the code that the default is always false?

In SockAddr.h:
        static const unsigned maxLen = sizeof(struct sockaddr_in6);
        char data[maxLen];

Please change maxLen (static const) to MAX_LEN.

And you declare a char array and cast to different structs. It will
cause alignment problems in some architectures. It's better to use an
union in this case, which will make avoid the casts too.


Adriano


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to