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

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

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: andrearo@xxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6707) Announce server on LAN
From: "Todd Goodman" <tsg@xxxxxxxxxxxxx>
Date: Mon, 17 Nov 2003 08:26:05 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6707 >

* andrearo@xxxxxxxxxxxx <andrearo@xxxxxxxxxxxx> [031117 11:11]:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=6707 >
> 
> I've had a look at how Quake locates its servers,
> from the GPL'd source in Quakeforge;
> It broadcasts to INADDR_BROADCAST (255.255.255.255),
> from what I could gather from this file:
> http://www.quakeforge.net/cgi-bin/viewcvs.cgi/quakeforge/libs/net/nm/net_udp.c
> 
> Anyway, using a broadcast instead of a multicast would
> avoid the problems of old OS'es not supporting multicast.
> 
> The only problem then, is that broadcasting might require root privileges
> on some BSDs, according to Todd Goodman. I've not found any facts about
> this by websearching. My testing on NetBSD didn't require root access to
> broadcast to INADDR_BROADCAST.
> 
> So; multicast or broadcast?

Well the problem with broadcasting is you're sending to all the stations
on the network.

With multicasting only those stations that want it are going to receive
it.

Todd

> 
>  Andreas Røsdal
> 




[Prev in Thread] Current Thread [Next in Thread]