file: bin/anyevent_publisher.pl 7: my $context = zmq_init(); 8: my $publisher = zmq_socket($context, ZMQ_PUB); 9: zmq_bind($publisher, 'tcp://*:10001');
we set up the PUB socket