-
Notifications
You must be signed in to change notification settings - Fork 6
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
Enable multicast output #261
Comments
simple czmq output test: #include "czmq.h"
int main() {
// mimick natnet actor
zsock_t *data_socket = zsock_new(ZMQ_DGRAM);
assert(data_socket);
//int rc = zsock_connect(data_socket, "udp://239.0.0.1:5555");
int rc = zsock_bind(data_socket, "udp://239.0.0.1:5555");
assert(rc == 0);
int i = 0;
while (i<10)
{
zstr_sendm(data_socket, "239.0.0.1:5555");
zstr_send(data_socket, "hello");
zsys_warning("hello %i", i);
i++;
zclock_sleep(1000);
}
zsock_destroy(&data_socket);
return 0;
} |
receive through socat (tested on OSX):
|
It just works on Linux. Tested sending from linux(gazebosc) to linux(socat) and from linux(gazebosc) to osx(socat) |
recv does not work although there's no reason not to |
packet loss on wifi is huge. Over 50% https://networkengineering.stackexchange.com/questions/36450/can-i-truly-multicast-over-wifi |
enabled igmp snooping and disabled wifi legacy rates, it's better now |
Some related bug in libzmq: zeromq/libzmq#4434 |
Bug in libzmq is fixed. So this might help us! Wait for new build |
It is already builtin we need to expose it
The text was updated successfully, but these errors were encountered: