[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 >
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?
Andreas Røsdal
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, (continued)
- [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, 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/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 <=
- [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
|
|