Skip to content

Commit 1f05e0d

Browse files
author
Richard Newton
committed
Merge pull request #41 from hintjens/master
Problem: zmq_event_t removed in libzmq v4.1
2 parents 96e0576 + 7f6cc85 commit 1f05e0d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

zmq.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@
6262

6363
#if ZMQ_VERSION >= ZMQ_MAKE_VERSION(4, 1, 0)
6464
#define ZMQ_HAS_PROXY_STEERABLE
65+
/* Socket event data */
66+
typedef struct {
67+
uint16_t event; // id of the event as bitfield
68+
int32_t value ; // value is either error code, fd or reconnect interval
69+
} zmq_event_t;
6570
#endif
6671

6772
// In order to prevent unused variable warnings when building in non-debug

0 commit comments

Comments
 (0)