For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > March 2006 > Regarding multicast basics









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Regarding multicast basics
myself_rajat@yahoo.com

2006-03-24, 7:07 pm

Hi All,

I have some quries regarding MULTICASTING. As recently I was looking
out net for building a simple multicast application, using
setsockopt(IP_ADD_MEMBERSHIP). By using that application I thought
there will be some multicast routers, and we will be subscribing to
them using their IP addresses. But while using sniffer I was surprised
to see the results.

However I was sending multicast join report through
setsockopt(IP_ADD_MEMBERSHIP) to a IP address 234.5.6.7 (assuming the
IP address of Multicast router), but actually outgoing IP datagram had
224.0.0.2 as its destination IP address........Seeing this I could make
out that the actual ip address of multi-router would be 224.0.0.22
only, whereas it will be holding some groups like 234.5.6.7 etc. But
later I found this 224.0.0.2 is a special class D address, which is to
make sure delivery of this mutlicast join request to each router, with
TTL of 1. But still I am not clear with the whole process, like what
are the things each router will do one receipt of this join request, as
well as until when this packet will be circulated in the net, to make
sure its delivery for each router??

Next how we could make sure of a exclusive group, say A and B wanted to
use a special multicast address 234.5.6.7 exclusively for their use
only, how would they make sure that this multicast wont be in use by
others??

And how the routing will take place for IP 234.5.6.7, from multicast
router to subscribed clients. Like way so many question are going
around in my mind, could any body put some light over basics.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com