Duplicate packets in Multicast Receiver Socket [duplicate]
This question already has an answer here: Receiving multiple multicast feeds on the same port - C, Linux 8 answers There seems to be a bug in the following MulticastReceiver implementation. On creating two instances for <224.0.25.46,13001> and <224.0.25.172,13001>, I get each packet twice in each stream. Any pointers ? My guess is REUSEADDR ? class MulticastReceiverSocket { protected: const std::string listen_ip_; const int listen_port_; int socket_file_descriptor_; public: MulticastReceiverSocket ( const std::string & listen_ip, const int listen_port ) : listen_ip_ ( listen_ip ), listen_port_