Follow-up Comment #11, bug #15559 (project freeciv):
Here is my second attempt *p22-plural-listen-v2.diff*
This patch uses net_lookup_service() to get both IPv4 and IPv6 addresses. The
server listens to all addresses, using an array 'listen_socks'. The client
tries all addresses, and uses the first address to work.
* If your system enables IPV6_V6ONLY by default (like *BSD with
net.inet6.ip6.v6only=0 or Linux with net.ipv6.bindv6only=0), then this patch
should allow your freeciv-server to accept both IPv6 and IPv4 connections.
* If your /etc/hosts defines "localhost" as both 127.0.0.1 and ::1, or only
127.0.0.1, or only ::1, then this patch should allow your Freeciv client to
connect to its locally started server.
Patch is for S2_2. Please test patch.
(file #9918)
_______________________________________________________
Additional Item Attachment:
File name: p22-plural-listen-v2.diff Size:15 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?15559>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev