[Freeciv-Dev] Re: (PR#6707) Announce server on LAN
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, Nov 05, 2003 at 08:57:29AM -0800, Raimar Falke wrote:
> On Wed, Nov 05, 2003 at 05:59:14AM -0800, Todd Goodman wrote:
> > * Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx> [031105 07:23]:
> > > On Tue, Nov 04, 2003 at 02:16:00PM -0800, John Bauman wrote:
> > > > > So if we choose 224.0.0.1 we know that all hosts are on this group AND
> > > > > we know that the TTL is irrelevant since the packets are routed.
> > > > Why do you want to use an address that all hosts are on? Wouldn't it be
> > > > better if only the hosts that cared got messages (as small as they may
> > > > be)?
> > >
> > > Do you know how you join with your computer a special multicast group?
> > > I don't.
> >
> > Yes, the way he was doing it (SIOCADDMULTI).
>
> SIOCADDMULTI isn't mentioned in the patch. Do you suggest that we add
> this ioctl call to freeciv? How portable is it?
>
> If not what OS command do I have to execute to call this ioctl?
>
> > You do it on the server and clients and now only those hosts who
> > care about receiving the packets get them.
>
> > > It reduced the usefulness of the new feature if you had to adjust your
> > > OS in some way. But there is already a default group and it is limited
> > > so that you don't spam the whole internet.
> >
> > You don't have to adjust your OS. The server and clients do it
> > programatically. You set TTL to 1 so you don't send anything off LAN.
> >
> > There's nothing the user needs to do (unless their OS doesn't support
> > multicast, in which case it doesn't matter what you do as this feature
> > wouldn't work...)
>
> > There's a pretty good chance that traffic to 224.0.0.1 will never make
> > it off the local network no matter what you set the TTL to as the router
> > isn't supposed to forward it regardless.
>
> And this IMHO a feature. And equivalent to setting TTL to 1. So what
> is the advantage of your solution?
The advantage is that its the right thing to do. Why bother using
multicast if its just going to broadcast the message? Why bother with
multicast when your effectively sending a packet to 255.255.255.255?
--
Paul Zastoupil
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, (continued)
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, andrearo@xxxxxxxxxxxx, 2003/11/04
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Raimar Falke, 2003/11/05
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, John Bauman, 2003/11/04
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Raimar Falke, 2003/11/05
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Todd Goodman, 2003/11/05
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Raimar Falke, 2003/11/05
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN,
Paul Zastoupil <=
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Raimar Falke, 2003/11/05
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Paul Zastoupil, 2003/11/05
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Raimar Falke, 2003/11/05
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Todd Goodman, 2003/11/05
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, andrearo@xxxxxxxxxxxx, 2003/11/05
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Todd Goodman, 2003/11/05
- Message not available
- [Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Raimar Falke, 2003/11/05
[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
|
|