[Freeciv-Dev] Re: (PR#6707) Announce server on LAN
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=6707 >
Here's an updated version of the LAN announcement patch.
The current code works in the following platforms:
SuSE Linux 8.2, NetBSD 1.6, SunOS 5.9 and Ms Windows (Cygwin).
I think it now is portable to most platforms supported by Freeciv,
however, to be on the safe side, a autoconf test for IP_ADD_MEMBERSHIP
can be added, since some very old platforms doesn't support multicasting.
I don't know how to add such a test to autoconf, and I haven't found
something like this anywhere with google. (I suspect that an OS without
multicasting isn't able to compile the rest of Freeciv anyway...)
From the previous discussion of which multicasting group to use,
I set the default multicast group back to 225.0.0.1. Only servers
that have joined this group responds to requests from clients. No
root-access is required, and no setup has to be done to join this
multicast group. This is supported on all platforms that I have tested.
I've also fixed the other problems reported by Raimar, except
"GUI code can be unified more". Could you be a bit more specific? I don't
know how to do this, without rewriting the metaserver list also.
Andreas Røsdal
lanannouncev4.diff.bz2
Description: Binary data
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, (continued)
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Per I. Mathisen, 2003/11/02
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Petrus Viljoen, 2003/11/05
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Per I. Mathisen, 2003/11/05
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, rt, 2003/11/06
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, rt, 2003/11/06
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, rt, 2003/11/06
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, rt, 2003/11/06
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, andrearo@xxxxxxxxxxxx, 2003/11/07
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Todd Goodman, 2003/11/07
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, andrearo@xxxxxxxxxxxx, 2003/11/10
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN,
andrearo@xxxxxxxxxxxx <=
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, andrearo@xxxxxxxxxxxx, 2003/11/12
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, andrearo@xxxxxxxxxxxx, 2003/11/12
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Paul Zastoupil, 2003/11/12
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, andrearo@xxxxxxxxxxxx, 2003/11/12
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Paul Zastoupil, 2003/11/12
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, andrearo@xxxxxxxxxxxx, 2003/11/12
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, andrearo@xxxxxxxxxxxx, 2003/11/17
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Todd Goodman, 2003/11/17
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Per I. Mathisen, 2003/11/17
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, andrearo@xxxxxxxxxxxx, 2003/11/20
|
|