[zeromq-dev] ZeroMQ Hello World Perl Example Start Up
Daisuke Maki
lestrrat at gmail.com
Tue Jul 17 10:57:29 CEST 2012
Hi,
FYI I have gone on to restructure the Perl bindings like so:
https://github.com/lestrrat/p5-ZMQ/
# they are also available on CPAN
basically, I moved out the version specific stuff out to ZMQ::LibZMQ2
and ZMQ::LibZMQ3 so that I don't have to put #ifdef s all over the
place.
porting from ZeroMQ to ZMQ::LibZMQ* should be pretty straight forward.
Please let me know if you have problems at
https://github.com/lestrrat/p5-ZMQ/issues
--d
2012/7/17 Marko Trajkov <markostrajkov at gmail.com>:
> Hello,
>
> I am having trouble in running simple Hello World example in Perl. I
> installed ZeroMQ and perl module, but when I start perl scripts, they are
> running without errors but client and server does not exchange messages (do
> not receive messages and does not sends it) everything else is working
> without errors. This are example which I am trying to run.
>
> https://github.com/imatix/zguide/blob/master/examples/Perl/rrclient.pl
> https://github.com/imatix/zguide/blob/master/examples/Perl/rrserver.pl
>
> When client sends "Hello" tcpdump doesn't catch it, so I can conclude that
> package was not sent. When I manually send package using sendip, server
> doesn't received it.
>
> Please tell me if there is something that I was missing, where I am wrong. I
> don't know how to make it working. By the way, I am using zeroMq 2.2, ubuntu
> linux 12.04 and Perl 5.14.2
>
> Second question: Is there UDP protocol for zeroMQ sockets?
>
> Kind Regards,
>
> Marko Trajkov
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list