bugFreeciv - Bugs: bug #18440, "IP_ADD_MEMBERSHIP...

Show feedback again

bug #18440: "IP_ADD_MEMBERSHIP ( failed" on Windows

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Tue 02 Aug 2011 12:39:48 AM UTC  
Category: generalSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: Microsoft Windows
Planned Release: 2.6.0, 3.0.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Wed 09 Dec 2015 12:40:09 AM UTC, comment #9:

Unfortunately it seems that there's more to this. Initial success was achieved on testing patch #6533 on S2_6, but the error is present in current S2_5 (with patch #6533 committed)

In S2_6/TRUNK there's also patch #6496 + bug #24000 that could have some effect on this.

Marko Lindqvist <cazfi>
Project Administrator
Tue 08 Dec 2015 11:03:29 PM UTC, comment #8:

cazfi reports that upgrading to winsock2 (patch #6533) has, with his crosser builds, (a) made this message go away (b) made LAN announcements work for the first time.

Jacob Nevins <jtn>
Project Administrator
Sun 12 Oct 2014 02:52:37 PM UTC, comment #7:

This bug is also seen at http://gna.org/bugs/?22448#comment10
with crosser build freeciv-win32-2.5.99-dev-r25830


a user compiled freeciv 2.5.0-beta1+ on windows

Tue 11 Mar 2014 09:39:11 PM UTC, comment #6:

See also bug #19840.

Jacob Nevins <jtn>
Project Administrator
Sun 02 Feb 2014 03:08:45 PM UTC, comment #5:

(On starting a standalone server, this is.)

Jacob Nevins <jtn>
Project Administrator
Sun 02 Feb 2014 03:08:16 PM UTC, comment #4:

Just tried both cproc's r24327 test build and cazfi's S2_4 r24328 crosser build (with win32stack-0.12).

cproc's build did not show the issue but cazfi's did show it:

Same Windows 7 install as before. This time I can confirm it was not connected to a network.

Jacob Nevins <jtn>
Project Administrator
Sun 04 Aug 2013 08:39:33 PM UTC, comment #3:

Maybe relevant information about conditional compilation around the failing call about crosser builds (from fc_config.h)

IPV6_SUPPORT not defined
HAVE_INET_ATON not defined

Marko Lindqvist <cazfi>
Project Administrator
Fri 20 Jul 2012 08:21:55 AM UTC, comment #2:

The whole message is there, but you have to select the text and drag right to see it (dodgy CSS?)

"An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call."

I think I get something like this on Linux when starting Freeciv with no Internet connection; it's quite possible that Windows didn't have access to the Internet this time (it often doesn't).

Jacob Nevins <jtn>
Project Administrator
Thu 19 Jul 2012 11:56:45 PM UTC, comment #1:

Was the end of error message eaten by gna formatting, or does it really not tell what is invalid?

This comes from sernet.c:server_open_socket() and as you suspected it's part of setting up game announcement socket.

Marko Lindqvist <cazfi>
Project Administrator
Tue 02 Aug 2011 12:39:48 AM UTC, original submission:

Noticed with cazfi's trunk build (r20045) on Windows 7 Home Premium 32-bit: on starting the server, I get:

Also visible briefly in the client when it spawns a server.

I think I've seen this previously with other versions, probably S2_3 builds. Haven't checked yet if it's just cazfi's builds or cproc's as well.

I'm guessing this is something to do with the LAN scan. When I started a server and a separate client, the server didn't show up on the scan.

Jacob Nevins <jtn>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

   patch dependencies.


Carbon-Copy List
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by jtn (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 03 May 2016 09:53:08 PM UTCcazfiPlanned Release2.6.0=>2.6.0, 3.0.0
    Sun 04 Jan 2015 07:50:42 AM UTCcazfiPlanned Release2.4.0=>2.6.0
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup