Is using socat good practice for forwarding multicast traffic?

I have a Linux machine, with one interface on network A, and one interface on network B.
On network A, another machine is a source for multicast traffic, let’s say 239.255.0.1.
I want the multicast traffic to be forwarded to network B.
My first idea would be to start a socat on my machine, like :

socat UDP4-RECV:<port>,ip-add-membership=239.255.0.1:<my ip> UDP4-SENDTO:<ip on network B>:<some port>

It seems to work, as I monitor my traffic on the target machine on network B.
However, are there any drawbacks to proceed this way? How would this be different, for example, to use my machine to route multicast traffic, with for example smcroute ?