[Freeciv-Dev] Re: (PR#6707) Announce server on LAN
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
* andrearo@xxxxxxxxxxxx <andrearo@xxxxxxxxxxxx> [031107 11:12]:
> On Thu, 6 Nov 2003 rt@xxxxxxxxxxx wrote:
> > * Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx> [031105 17:13]:
> > > On Wed, Nov 05, 2003 at 12:28:18PM -0800, Todd Goodman wrote:
> > > > > As you can see, the interface eth0 has joined the 237.0.0.1 group.
> > > > > After the client and server are done sending packets to each other,
> > > > > the
> > > > > interface eth0 leaves the group 237.0.0.1. This is group management is
> > > > > handled by the operating system kernel, and is invisible to the user.
> > > >
> > > > I think adding the group automatically might just be a Linux thing
> > > > though.
> > >
> > > Is there some more data/facts on this issue?
> >
> > I tried the attached test program on Solaris 2.8 without the
> > setsockopt(s, IPPROTO_IP, IP_ADD_MEMBERSHIP, ...) and it would not
> > receive anything sent to the mulicast address.
>
> So this means that the lan-patch for Freeciv would also work on Solaris
> 2.8? I would think so.
Yes, the IP_ADD_MEMBERSHIP is adding us to the multicast group (just
like the SIOCADDMULTI ioctl() does.)
I think the LAN patch would work on Solaris but haven't tried it
explicitly.
>
> I just tested the lan-patch on a SunOS 5.9 (Solaris 7 x86), and
> it works (just like Linux) for any multicast group I choose.
>
> So far, only Netbsd has insisted on using only the all-hosts group.
> Could it be a bug in NetBsd? Can it be solved by using autoconf?
NetBSD may need to use the SIOCADDMULTI ioctl() instead of the
IP_ADD_MEMBERSHIP setsockopt().
I don't have a NetBSD system to test this on though.
Todd
>
>
> Andreas Røsdal
>
- [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 <=
[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, 2003/11/17
[Freeciv-Dev] Re: (PR#6707) Announce server on LAN, Todd Goodman, 2003/11/17
|
|