On Tue, 16 Oct 2001, Grigory Kljuchnikov wrote:

(sorry for the long quote)

> 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?

I believe the socket receives all packets destined to that port, since the
address hasn't been specified. That means the multicast messages AND the
unicast messages.

> 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?

I believe here we would only receive the messages for the unicast address,
as that is the one we have bound.

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

Case 3: The messages for that multicast group we've bound.
Case 4: Nothing.

I just woke up, so forgive me my mistakes :-)

-- 
 |   [EMAIL PROTECTED] home: +358-50-3265194
 |     IRC naturae alienum est! Periculosum est! Delendum est! 


--------------------------------------------------------------------
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