Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] (PR#6707) Announce server on LAN
Home

[Freeciv-Dev] (PR#6707) Announce server on LAN

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#6707) Announce server on LAN
From: "andrearo@xxxxxxxxxxxx" <andrearo@xxxxxxxxxxxx>
Date: Fri, 31 Oct 2003 13:04:05 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Hi everyone,
One of the features I miss in Freeciv is to get a list of servers on the
LAN that the client can connect to, when setting up local games. So I just
had to implement it :)

It works as follows: The client multicasts an UDP packet to the LAN, with
TTL=4 so that the packet doesn't leave the LAN. The server then get's the
packet, and send a response with it's info. The list of LAN servers in the
connect dialog is updated, just like the list of Metaservers.

I realize that this patch must work on all platforms supported by
Freeciv. Xaw and Gtk clients supported. The patch has been tested/compiled
on Windows (mingw), SuSE 8.2 and Gentoo. Are there any other strange
platforms that must be tested? (eg. VMS?)

I don't think there are any security issues with reporting the
same info that can be reported to the metaserver to the LAN.
(If you're really paranoid,this feature could be blocked by a firewall.)

So is this something useful for Freeciv?
All suggestions welcome.

 Andreas Røsdal
                            (yes, I have re-read the CodingStyle doc :)

Attachment: lanannouncev1.diff.bz2
Description: lanannouncev1.diff.bz2


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#6707) Announce server on LAN, andrearo@xxxxxxxxxxxx <=