Switched out deprecated zmq_sendmsg/recvmsg functions