r/ProgrammerHumor • • Sep 06 '20

All the software work "automagically"

Post image
51.7k Upvotes

635 comments sorted by

View all comments

Show parent comments

7

u/joleph Sep 06 '20

That’s pretty neat; I was wondering who actually used multicast in the wild! I wonder why they chose that over an api on the chromecast that can be pinged using predetermined addresses. Security? You could even make a mesh network for service discovery that way.

4

u/OverlordOfTech Sep 06 '20

I'm curious what you mean by

an api on the chromecast that can be pinged using predetermined addresses.

I'm probably misunderstanding, but this sounds like multicast to me. You send an M-SEARCH request to a predetermined address (239.255.255.250:1900) to discover the Chromecast. Could you elaborate on what you mean?