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 and ::1, or only, 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:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to