On 22-Jun-00 Francis Dupont wrote:
>  In your previous mail you wrote:
> 
>    > Another point en passant, should in this case a bind() with a non-zero
>    > scope_id do an automatical IPV6_JOIN_GROUP?
>    
>    I don't follow this - you can't bind() a multicast address.
>    
> => I can and in fact I can bind() many sockets to the same multicast address
> with the same port using SO_REUSEPORT... Of course such sockets should be
> used only for incoming traffic (ie don't send a packet with a multicast
> source address :-).
> 

You're right Francis, BSD manual of socket syscall says:

     SO_REUSEPORT allows completely duplicate bindings by multiple processes
     if they all set SO_REUSEPORT before binding the port.  This option per-
     mits multiple instances of a program to each receive UDP/IP multicast or
     broadcast datagrams destined for the bound port.

                        Yves.

----------------------------------
Yves Legrandg�rard
E-Mail: [EMAIL PROTECTED]
Date: 22-Jun-00
Time: 11:22:46
----------------------------------
--------------------------------------------------------------------
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