ip multicast group 是由 ip address 和 port 一起标识的, 但用于加入 multicast group 的 igmp 报文里面只有 ipaddr 的字段,没有关于 port 的信息。这是怎么回事?
r*e
2 楼
who told you multicast group is decided by both ip address and port?? it is only identified by ip address (d class). ip multicast is layer 3, it has no idea about anything above it (port concept is in layer 4, udp). ip address and port together identify, as called by most people, a multicast session.
【在 a***a 的大作中提到】 : ip multicast group 是由 ip address 和 port 一起标识的, : 但用于加入 multicast group 的 igmp 报文里面只有 ipaddr : 的字段,没有关于 port 的信息。这是怎么回事?