[zeromq-dev] Java/Windows issues
Martin Sustrik
sustrik at fastmq.com
Wed Aug 5 10:00:42 CEST 2009
Hi Robin,
AFAIU your use case requires sender on Linux side and receivers on Win32
side. You should be aware that Win32 implementation uses native MS
implementation of PGM the doesn't support UDP encapsulation. On the
other hand it doesn't require root privileges.
Consequently, when combining Windows and Linux, you have to use raw PGM.
The sender (Linux) has to run as root, while receivers (Windows) need no
special privileges.
> The error actually occurs when using UDP encapsulation. I can't do the
> non udp test right now as I'm temporarily w/o root, its possible that
> non udp doesn't have this issue.
>
> Starting the second receiver results in:
> $ ./pgm_remote_thr wimp "eth0;239.191.1.2:7500
> <http://239.191.1.2:7500/>" 100 100
>
> iface to connect to local_exchange: eth0;239.191.1.2:7500
> <http://239.191.1.2:7500/>
> message size: 100 [B]
> message count: 100
> lt-pgm_remote_thr: pgm_socket.cpp:296: void zmq::pgm_socket_t::open_
> transport(): Assertion `rc == 0' failed.
> Aborted
>
> The publisher was started with:
>
> $ ./pgm_local_thr wimp "udp:eth0;239.191.1.2:7500
> <http://239.191.1.2:7500/>" 100 100
> local_exchange network: zmq.pgm://udp:eth0;239.191.1.2:7500
> <http://239.191.1.2:7500/>
> message size: 100 [B]
> message count: 100
> Start pgm_remote_thr on remote host and pres enter to continue.
Both sides are on Linux here, right? The problem is unrelated to the UDP
encapsulation incompatibility described above and we'll have a look at
it shortly.
Martin
More information about the zeromq-dev
mailing list