Boost logo

Boost Users :

Subject: [Boost-users] asio multicast receiver takes all traffic addressed to the same port (example/multicast/receiver.cpp)
From: Yuri T. (br0adcast.007_at_[hidden])
Date: 2010-09-08 15:41:52


Hi,
In my network there are multiple multicast streams with different addresses,
but with the same port. I tried to run an example from the asio library
 (example/multicast/receiver.cpp). In Windows it works fine but in linux if
you run multiple copies of the application they receive all packets arriving
on the specified port and ignore the broadcast address.
How to filter packets by multicast address? (senderEndpoint contain real IP,
not multicast)



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net