Destination address of incoming multicast packet

In the system I'm developing a server receives multicast packets from several clients. The server joined multiple multicast groups, when it receives a message from a client it needs to know to which multicast group the client sent the message.

Standard UdpSocket::recv_from only gets me the address of the client, not the multicast group.
I have also checked both net2 and socket2 crates and none seems to provide the desired functionality.

Did I miss any function / crate that provides this functionality?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.