Hello,

RFC 2553 says:
Note that to receive multicast datagrams a process must join the
   multicast group and bind the UDP port to which datagrams will be
   sent.  Some processes also bind the multicast group address to the
   socket, in addition to the port, to prevent other datagrams destined
   to that same port from being delivered to the socket.

Please, clarify the quotation.  How does socket address affect messages
receiving?
There are four possible cases.
1.  Socket is bound to a port (address left unspecified) and joined
several multicast groups.
2.  Socket is bound to a unicast address and a port and joined several
multicast groups.
3.  Socket is bound to a multicast address and a port and joined several
multicast groups, one group has the address that the socket is bound to.
4.  Socket is bound to a multicast address and a port and joined several
multicast groups, and none of the groups has the address that the socket
is bound to.

In the first case socket receives all multicast messages, that are sent to
addresses of it's groups (and received on corresponding interfaces) and
the socket's port. Right?
In the second case socket receives unicast packets sent to the socket's
address+port AND all multicast messages sent to addresses of it's groups
(and received on corresponding interfaces) and the socket's port. Right?

QUESTION: What messages should the socket receive in the third and
fourth cases?

Grigory Klyuchnikov, System Engineer,
Institute for System Programming
Russian Academy of Sciences



--------------------------------------------------------------------
IETF IPng Working Group Mailing List
IPng Home Page:                      http://playground.sun.com/ipng
FTP archive:                      ftp://playground.sun.com/pub/ipng
Direct all administrative requests to [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to