Fabio Alessandrelli
47ae6c6507
Move V6ONLY flag selection inside helpers
...
(cherry picked from commit 4d90a4fcd5
)
2017-01-04 00:46:32 +01:00
Fabio Alessandrelli
5e79ac72b7
Automatically map IPv4 address to IPv6 when needed
...
(cherry picked from commit 9200da58e4
)
2017-01-04 00:46:32 +01:00
Fabio Alessandrelli
19b31297ec
Fix _set_ip_addr_port not setting the address.
...
(cherry picked from commit cdc1ca0f13
)
2017-01-04 00:46:32 +01:00
Fabio Alessandrelli
e1dfaaf786
Define IPV6_V6ONLY flag if not defined on windows (old mingw versions)
...
(cherry picked from commit bdc7ca84ca
)
2016-12-11 18:12:46 +01:00
Fabio Alessandrelli
754e9aa60a
TCP/UDP Listen sockets can now be set to IPv6 only
...
(cherry picked from commit eb27e993f0
)
2016-12-11 18:12:46 +01:00
Fabio Alessandrelli
70a6791150
Fix windows debugger connection problems.
...
Unify network socket creation between platform.
Ensure IPV6_V6ONLY flag is not set on sockets (allow IPv4 connection in IPv6 socket, dual-stack).
(cherry picked from commit 812908e236
)
2016-12-11 18:12:45 +01:00
Fabio Alessandrelli
b3443fd848
Pass correct address size (ipv4,ipv6) to socket connect, bind, sendto
...
The address size passed to network system calls now reflects the the actual IP type (v4 or v6).
Fix Windows and OSX ipv6 sockets
(cherry picked from commit 80e911647c
)
2016-12-11 12:35:06 +01:00
Ariel Manzur
d8b0070b8c
added windows support for ipv6, cleaned up unix code
...
(cherry picked from commit 672225b710
)
2016-12-11 12:35:06 +01:00