Fix. Do not use zmq_event_t struct.
Fix. Change size of zmq_msg_t struct from 40 to 48.