Re: [PATCH 0/10] af_unix: add multicast and filtering features toAF_UNIX

From: Stephen Hemminger
Date: Thu Mar 01 2012 - 23:40:14 EST


On Thu, 01 Mar 2012 15:55:05 -0500 (EST)
David Miller <davem@xxxxxxxxxxxxx> wrote:

> From: Javier Martinez Canillas <javier.martinez@xxxxxxxxxxxxxxx>
> Date: Thu, 01 Mar 2012 14:56:11 +0100
>
> > We could use AF_INET multicast on a local machine but we need some
> > ordering and control flow requirements that are not guaranteed on UDP
> > multicast over IP. That's why we thought to add a new address family
> > AF_MCAST.
>
> None of this makes any sense to me.
>
> Unless you have infinite amounts of memory you have to handle packet
> drops, and the same things that handle packet drops on a protocol
> level can handle out-of-order delivery too.
>
> Stop reinventing the wheel, use facilities that exist already.

Look at ZeroMq http://www.zeromq.org/ library seems to be a good fit for what D-bus wants.
And it supports multiple protocols.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/