V
V
Vitaly Pukhov2015-05-28 07:44:31
Programming
Vitaly Pukhov, 2015-05-28 07:44:31

How to implement multicast on the Internet?

I perfectly understand that the answer will be - in any way. I meant how to implement something like this. The bottom line is, there is a server on a white IP and clients behind NAT, the server IP is unknown, you need a way to convey to clients what IP the server has without a dedicated specific server with a specific IP. In LAN, this was easily implemented through multicast, I want to expand the functionality to the All Internet. I thought about the implementation through DHT, but there you still need to know at least 1 node from the network.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey, 2015-05-28
@HaJIuBauKa

Clients behind NAT. They sit at some server that looks at the Internet?
On the Internet, no one will broadcast your multicasts. Imagine what will happen to the channels if this is allowed to be implemented?
It seems that you are trying to solve the problem from the wrong side ...
Describe in more detail.

V
Valentin, 2015-05-28
@vvpoloskin

Easy) Multicast can also be routed, you just need to set TTL greater than 1.
Why not :
1) providers cut (and this is quite normal) multicast from client ports when connecting to the Internet
2) providers definitely do not route third-party multicast, often it is simply wrapped on null.
In any case, you need to know at least one address where to start. This may be the address of a multicast group, a server. It cannot be only within the same LAN, but this is decided at the Ethernet layer (ARP) through broadcast addressing. Perhaps you need to look towards broadcast ip addresses.

A
Alexey Cheremisin, 2015-05-28
@leahch

The answer is no, it's correct. If we are talking about multicast. Well, if about the Internet, that is, there is such a thing as DNS, why not use it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question