please help with the following problem:
my client program will receive UDP traffic from multiple multicast groups. And the client need to know for each traffic received, which group it is to.
If I create a single socket for all the multicast groups, the recvfrom() function can't tell the destination address, it can only tell the source address. In this case, how can the client know which group it is?
I also tried to use multple sockets, each for a multicast group. But Windows seems do not permit binding to Multicast address.
Can anybody give me a pointer on this?
Thanks
my client program will receive UDP traffic from multiple multicast groups. And the client need to know for each traffic received, which group it is to.
If I create a single socket for all the multicast groups, the recvfrom() function can't tell the destination address, it can only tell the source address. In this case, how can the client know which group it is?
I also tried to use multple sockets, each for a multicast group. But Windows seems do not permit binding to Multicast address.
Can anybody give me a pointer on this?
Thanks