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,794 of 14,669   
   EJP to kalpesh   
   Re: How to multicast on more then one ne   
   30 Mar 09 09:26:52   
   
   2fe5ec33   
   From: esmond.not.pitt@not.bigpond.com   
      
   kalpesh wrote:   
   > Hello,   
   >   
   > I face the problem in multicast when the machine having two network   
   > card and each card is attached to different LAN.   
      
   You need to join the multicast group via every available local IP   
   address, and you need to send to the group via every available local IP   
   address. You don't need > 1 socket to do that.   
   > #define DHCP_MULTICASTIP                "224.0.0.10"   
      
   That's a link-local multicast group. Are you sure that's what you want?   
      
   > #define DHCP_TTL                        64   
      
   And conversely that's a continent-local TTL.   
      
   >         if(setsockopt(sockMulticast, SOL_SOCKET,  SO_BROADCAST, (char*)   
   > &ttl,   
   > sizeof(int)) == SOCKET_ERROR)   
      
   SO_BROADCAST is a boolean. You're setting TTL, so you should be using   
   IP_MULTICAST_TTL here.   
      
   >         if ( portcount == 20 )   
      
   What is 'portcount'?   
      
   --- 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