[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 03423) Re: select() on IPv6 multicast socket.



I am almost sure that my user code is right.
The case is actually more complicated than that :

I got two SSM channels (S,G1), (S,G2) transmitting on the wire. my two
so1 and so2 sockets join both initially (S,G1)  sequentially but very
rapidly (at  less than < 1sec interval) and then so1 join (S,G2). The
result is that only so1 receives data.

Hoerdt Mickaël

Stig Venaas wrote:

>On Thu, Jun 23, 2005 at 09:35:15AM +0200, Hoerdt Mickael wrote:
>  
>
>>Hi,
>>
>>I have strange behavior in my code :
>>
>>I got two IPv6 UDP sockets, bound to the same port and listening to the
>>same SSM channel (INCLUDE mode). I am using select() to know when packets are coming on it. The
>>thing is that only one socket receive packets is it normal ? does multicast
>>toward sockets bound
>>to the same port and listening to the same group works ?
>>    
>>
>
>It works fine for me on 2.6.11 (without usagi) and also has before.
>Is your problem with select(), does select only include one of the
>sockets in the read set? Or are you indeed not receiving packets?
>
>I only tested ASM though,
>
>Stig
>
>
>  
>