Created
August 16, 2014 11:37
-
-
Save taotetek/1040cbd15aed56d88057 to your computer and use it in GitHub Desktop.
$status = zmq_setsockopt( $socket, $option, $value )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
se ZMQ::LibZMQ3; | |
use ZMQ::Constants qw/:all/; | |
my $ctxt = zmq_init; | |
my $socket = zmq_socket( $ctxt, ZMQ_SUB); | |
$status = zmq_setsockopt( $socket, ZMQ_SUBSCRIBE, "" ) | |
zmq_connect( $socket, "tcp://127.0.0.1:9999" ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment