Detecting if the router supports multicast

Is there a way to programmatically determine if the router supports multicast? Either in regular C(BSD sockets), or, preferably, at a higher level in OSX ( Objective-C/ Cocoa).

Update: here I assume that in order to determine multicast support, we perform only one process (so approaches that offer multiple clients on separate machines are not relevant here).

+3
source share
2 answers

You can listen to 224.0.0.1 for 125 seconds for an IGMP request, but this will not detect static multicast routing.

- LAN . , .

+2

: 2 . :

PC1 () ---- → - ---- → ----- PC2 ()

(PC1) vlc IP- . 235.1.1.1 (PC2) mcfirst utility. , PC2 .

IPv4, IPv6.

0

Source: https://habr.com/ru/post/1788674/


All Articles