home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 12,798 of 14,669   
   EJP to kalpesh   
   Re: How to multicast on more then one ne   
   04 Apr 09 00:57:13   
   
   45bd9b4b   
   From: esmond.not.pitt@not.bigpond.com   
      
   kalpesh wrote:   
   > On Apr 1, 4:47 pm, dbansal  wrote:   
   >   
   > Here as per your suggestion I found all network interface card   
   > and its Local IP address   
      
   Err, pardon me, that was *my* suggestion, not dbansal's.   
      
   > After getting all Local IP address bind this IP address individually   
   > and multicast the message its working fine.   
      
   That's not the correct answer. You should be calling setsockopt() to set   
   the IP_MULTICAST_IF option and then sending, doing all that in turn for   
   each outgoing IP address. Your way you have to keep recreating and   
   rebinding the socket, which is much more expensive.   
      
   Did you fix the IP_MULTICAST_TTL bug yet?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca