[zeromq-dev] ipv6 not working (Perl)

Thomas Klausner domm at plix.at
Tue Feb 19 09:50:50 CET 2013


I'm trying to use 0mq (Perl) using ipv6, but it doesn't seem to work. 
I've got the latest Debian 3.3 package (3.2.2+dfsg-1) and ZMQ-LibZMQ3-1.09

Attached you can find two trimmed-down versions of the weather server & 
client from the guide, which can be run using ip4 or ipv6 (default is 
ipv6). When I run them using ipv6, the server happily sends messages, 
but the client doesn't receive them. When running with ipv4, the client 
gets messages.

Any ideas / pointers? Is this a problem with the Perl bindings, or a 
general 0mq issue (I'm "only" fluent in Perl, so I didn't try it in C)

To run the attachted scripts with ipv6:
perl weather_server.pl v6
perl weather_client.pl v6

or with ipv4:
perl weather_server.pl v4
perl weather_client.pl v4


#!/usr/bin/perl                              http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weather_server.pl
Type: text/x-perl
Size: 519 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130219/b92d304b/attachment.pl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weather_client.pl
Type: text/x-perl
Size: 556 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130219/b92d304b/attachment-0001.pl>

More information about the zeromq-dev mailing list