Re: trouble receiving multicast

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

 



> I don't have any handy code right now to send multicast traffic, but you 
> add your group properly, and I can see an igmp add request get sent, so 
> your gateway should be letting you see those frames....
> 
> About the only wierd thing that I see is the use of read.  I'm not 
> certain, but I thought read only works on connection oriented sockets. 
> Since you're opening this socket as datagram socket (as all multicast 
> sockets are), you should probably switch the read call to be a 
> recv/recvfrom or recvmsg call.

I'll take a look at that.

I think I was wrong in initially saying that eth0 was the only
interface that worked.  After a little bit of fidding, I got eth1 to
work... IF the default route was set to it.  So now I suspect it has
something to do with the routing tables, however the problem I'm
seeing is for receiving multicast broadcasts, not sending.  I thought
the routing tables were relevant only in the case of outgoing
multicast broadcasts.

Unfortunately (for debugging the problem, fortunately for my sanity),
I'm going on vacation for 2 weeks, so I'm not going to be able to get
more detailed information for a while.  So if I don't respond to
email, it's not because I fixed the problem or am not interested
anymore.  It's because I'm too busy eating good sushi and deciphering
kanji.

Thanks.


Wes

-- 
http://www.woahnelly.net/~wes/          OpenPGP key = 0xA5CA6644
fingerprint = FDE5 21D8 9D8B 386F 128F  DF52 3F52 D582 A5CA 6644
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux