View Single Post

  #2 (permalink)  
Old 11-08-2004
James Carlson
 
Posts: n/a
Default Re: multicast join group error : No such device

"Pirabhu Raman" <pirabhur@ufl.edu> writes:
> mreq.imr_multiaddr.s_addr = sock_addr.sin_addr.s_addr;
> mreq.imr_address.s_addr = htonl(INADDR_ANY);


Set imr_address to something other than zero. You need to specify the
address of the interface on which you want to join this multicast
group -- using the local address for broadcast-type interfaces, and
the remote address for point-to-point interfaces.

--
James Carlson, IP Systems Group <james.d.carlson@sun.com>
Sun Microsystems / 1 Network Drive 71.234W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.497N Fax +1 781 442 1677
Reply With Quote