For some reasion I don’t get the IGMP join/report message by init a socket to udp Multicast. Sometimes the same code on another device work 100% fine. In everycase the transmitting messages will be sent to the ethernet but because the missing join/report not forwarded by every switch.
Also I am missing a join/report after disconnecting the lan cable and reconnecting it to another switch for example.
setSn_DHAR( s, multicastMac );
setSn_DIPR( s, multicastIp );
setSn_DPORTR( s, multicastPort );
IINCHIP_WRITE(Sn_PORTR(s),multicastPort ); // Same Port for both to handle receive and transmit in one socket