|
Boost Users : |
Subject: Re: [Boost-users] asio multicast receiver takes all traffic addressed to the same port (example/multicast/receiver.cpp)
From: Hei Chan (structurechart_at_[hidden])
Date: 2010-09-09 02:38:59
Hi,
If you are talking about same different multicast groups but same port, you are
out of luck on linux.
There is a long debate on whether duplicated messages are expected. You can
google it.
Anyway, in short, you have to filter duplicates at the application level.
________________________________
From: Yuri T. <br0adcast.007_at_[hidden]>
To: boost-users_at_[hidden]
Sent: Wed, September 8, 2010 12:41:52 PM
Subject: [Boost-users] asio multicast receiver takes all traffic addressed to
the same port (example/multicast/receiver.cpp)
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