[zeromq-dev] Using multicast address for java perf tools
Pavol Malosek
malosek at fastmq.com
Wed Sep 23 11:02:24 CEST 2009
Hello Perik,
First you have to compile 0mq with --with-pgm option.
For the moment PGM is supported only on Linux, you should see an error while
configuring --with-pgm on different platform.
With some effort it is probably possible to compile OpenPGM on MAC, since it
strongly depends on glib2.0.
If you want to experimet you should comment out few lines in configure script
around line 23691
{ { echo "$as_me:$LINENO: error: PGM extesion is not supported on
this platform $host." >&5
echo "$as_me: error: PGM extesion is not supported on this platform $host."
>&2;}
{ (exit 1); exit 1; }; }
Let us know if you succeeded or if you need further help.
malo
----- Original Message -----
From: "Mike Perik" <michaelperik at yahoo.com>
To: <zeromq-dev at lists.zeromq.org>
Sent: Wednesday, September 23, 2009 3:42 AM
Subject: [zeromq-dev] Using multicast address for java perf tools
> I'm playing around with the alpha2 release of the v2 software. I'm trying to
> use a multicast address with the local_lat and remote_lat java perf examples.
>
> I tried using the 'udp://eth0;224.0.0.1:5555' address from the examples on the
> http://www.zeromq.org/area:download-v20-alpha2 page.
>
> This is the command line:
>
> java -Djava.library.path=/Users/mikep/tmp/zeromq-2.0-alpha2/bindings/java/.libs
> -cp ../../bindings/java/Zmq.jar:. local_lat 'udp://eth0;224.0.0.1:5555' 256 5
>
> And the error I get is:
>
> Exception in thread "main" java.lang.Exception: Bad address
> at org.zmq.Socket.bind(Native Method)
> at local_lat.main(local_lat.java:39)
>
>
> I also hardcoded the address in the java class but the same error occurred.
>
> I'm trying this on a Mac.
>
> I haven't found any documentation on the format of the address.
>
> What am I doing wrong or does this not work yet?
>
More information about the zeromq-dev
mailing list