multicast: same port, different IP address?
From: Matt Garman
Date: Wed Apr 08 2009 - 12:43:07 EST
I don't really understand what the concept of a port is in Linux with
regards to multicast.
Basically, I want to use multicast on an internal network with many
nodes. I want to use multicast IP addresses to delineate the message
*type*. E.g., 184.108.40.206 for status monitoring, 220.127.116.11 for control
messages, 18.104.22.168 for heartbeats, 22.214.171.124 for chatting, etc etc.
Since I'm using the address space to delineate messages, can I just
hard-code my port (i.e. make it always the same)?
Put another way: what is the effect of having one host subscribe to
multiple multicast streams, where each stream has the same port, but a
different ip address? Is there a performance impact?
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html