ducdh1210 / labstreaminglayer

Automatically exported from code.google.com/p/labstreaminglayer
0 stars 0 forks source link

Can't limit multicast to particular local interface #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm sorry to report this as a "defect", but I couldn't find an informal 
discussion group for this project.

Our computers have multiple network interfaces.  Typically, one interface is 
connected to the "lab network", and another is connected to the corporate 
network.  Multicast traffic on the corporate network leads to catastrophe, so 
we must limit multicast traffic to the lab network.  Typically, this is done by 
specifying the endpoint's IP address.

From what I can tell, this isn't currently possible inside LSL.  The relevant 
code seems to be "LSL/liblsl/src/udp_server.cpp" -- listen_endpoint is 
default-constructed, i.e. no IP address can be provided, and the call to 
ip::multicast::join_group() isn't followed by a call to 
ip::multicast::outbound_interface().

It seems like this would be really easy to implement, for someone deeply 
familiar with the code.  I could probably hack in a solution, but I'm still 
just at the evaluation stage, i.e. someone told me about LSL, and I'm trying to 
figure out if it'll meet our needs.  (Other than this one issue, it seems like 
it'll be great!)

Please let me know your thoughts, and if there was a more appropriate forum for 
this question.

Original issue reported on code.google.com by ulat...@yahoo.com on 1 Jun 2015 at 6:52

GoogleCodeExporter commented 9 years ago
Thanks for posting this. Can you please copy the post and re-post it on our 
github page (https://github.com/sccn/labstreaminglayer/issues)? We are trying 
to migrate there and it would be great if we could keep these issues once 
google code shuts down.

Original comment by david.er...@gmail.com on 1 Jun 2015 at 7:56