ODBC and net.ipv6.bindv6only
Sergei Golovan
sgolovan@REDACTED
Sun Oct 17 10:07:23 CEST 2010
Hi again!
It seems I've found why odbc doesn't work in IPv6-IPv4 environment when IPv6
sockets don't bind to IPv4 also. In odbcserver.c code I've found the following:
#define USE_IPV4
#ifdef UNIX
#define SOCKET int
#endif
#if defined WIN32 || defined USE_IPV4
/* Currently only an old windows compiler is supported so we do not have ipv6
capabilities */
static SOCKET connect_to_erlang(const char *port)
{
So, IPv6 capable code is just switched off. Is it safe to enable it?
(Only connect_to_erlang function will change.)
Cheers!
--
Sergei Golovan
More information about the erlang-bugs
mailing list