[zeromq-dev] Java/Windows issues

Robin Weisberg robin at scout-trading.com
Wed Aug 5 00:17:24 CEST 2009


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" 100 100

iface to connect to local_exchange: eth0;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" 100 100
local_exchange network: zmq.pgm://udp:eth0;239.191.1.2:7500
message size: 100 [B]
message count: 100
Start pgm_remote_thr on remote host and pres enter to continue.


On Mon, Aug 3, 2009 at 5:13 PM, Pavol Malosek <malosek at fastmq.com> wrote:

>  Hello Robin,
>
> It should be possible to run more than one pgm receiver on the same machine
> - speaking about OpenPGM on Linux.
> Could you please try to run two ./perf/tests/zmq/pgm_remote_thr test
> programs on one box against single pgm_local_thr on the second box?
>
> Which error/assert are you seeing?
>
> malo
>
>
> ----- Original Message -----
> *From:* Robin Weisberg <robin at scout-trading.com>
> *To:* Martin Sustrik <sustrik at fastmq.com>
> *Cc:* zeromq-dev at lists.zeromq.org
> *Sent:* Tuesday, August 04, 2009 7:29 PM
> *Subject:* Re: [zeromq-dev] Java/Windows issues
>
> Thanks Martin!
>
> FYI, I noticed that when running the same listener app under linux
> restarting the publisher doesn't cause a problem. So it seems its windows
> related not java related.
>
> BTW is there a good reason for not being able to have multiple listeners
> listening on the same machine? Even when I run w/ udp encapsulation I can't
> have multiple apps running listening to the same multicast address. From a
> high level it would seem to me it should be as simple as just setting the
> appropriate socket option
>
> setsockopt(_socket, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)
>
> But I guess there could be more going on underneath the hood. Let me know
> if this is a more appropriate question for the OpenPGM folks.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090804/ff952716/attachment.htm>


More information about the zeromq-dev mailing list