-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
packet rocognition #4
Comments
this one i sa stopper too... |
Try removing the check. |
if I remove the check I got my own node address (e.g the libartnet server)... |
I'm not clear what you're asking for. Can you please clearly describe the problem and what you'd like to see. |
I'm trying to make D::Light and Capture Polar working on the same computer.... but I would like to know for a more elegant way.... best regards, |
Let me make sure I understand: To do the former you'll need to introduce a new function to control this behavior since we don't want to break existing clients. Something like artnet_allow_loopback(artnet_node, bool); There is no good way to filter Polls / PoolReplies from the same node. Comparing the node name is a bit of a hack, esp. since it could be set from the hostname. At a minimum I'd compare the manufacturer ID and the name |
Simon, 2014-06-13 4:42 GMT+02:00 Simon Newton [email protected]:
that is exactly it!
++
|
Here are the steps: i) add a new bool to the node_state_t struct to track if loopback is enabled / disabled. It should default to disabled. |
thanx, ++ 2014-06-13 17:29 GMT+02:00 Simon Newton [email protected]:
|
in artnet_net_recv() this check is make:
if (cliAddr.sin_addr.s_addr == n->state.ip_addr.s_addr ||
ntohl(cliAddr.sin_addr.s_addr) == LOOPBACK_IP) {
p->length = 0;
return ARTNET_EOK;
}
this prevent to use a node that is bound on the 0.0.0.0:6454 address:port...
in your opinion what check can be done to avoid returning at this stage....
The text was updated successfully, but these errors were encountered: