REQ-REP Hello World
file: bin/raw_req_rep_hello_world_client.pl 8: my $context = zmq_init(); 9: my $client = zmq_socket($context, ZMQ_REQ); 10: zmq_connect($client, 'tcp://localhost:10001');
and call zmq_connect() to connect the socket to the server
zmq_bind
and zmq_connect
.zmq_bind
for the more stable part of your messaging network (aka the "server").