Re: multicast join group error : No such device
"James Carlson" <james.d.carlson@sun.com> wrote in message
news:xoavbre8h7og.fsf@sun.com...
> "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.
Thanks for the response. That fixed the issue.
Thanks!
|