Folks!
I am trying to implement an application, wherein the application would
like to receive any-and-all packets sent to a particular multicast group
address.
I am using Linux (2.4) Redhat. I want the application to receive UDP
packets multicast to the address, as well as PGM packets, as well as
any packet (with any other protocol) over IP. Also, in case of UDP, it
is
preferable that the application do not have apriori knowledge about the
UDP port number.
Unfortunately, Linux does not allow opening a raw socket for proto =
IP_PROTO.
Any ideas as to how I can do this?
Ideally, I would like to do this without causing too much stress to the
kernel (i.e. it would be preferrable, not to use command-line ipchain
commands).
Also, the multicast-address is dynamic, i.e. application gets this
address using
some other application level signalling protocol, so I cannot use any
static
linux command-line command.
I'll take reply-posts through the newsgroup.
Thanks a bunch!
-- arun