Added two new monitoring events:
 - ZMQ_EVENT_HANDSHAKE_SUCCEED is raised once the encryption handshake succeed
 - ZMQ_EVENT_HANDSHAKE_FAILED is raised when it failed
Both events are raised on server and client side.
This commit is contained in:
Vincent Tellier
2016-12-30 16:26:42 +01:00
parent 64b07d8132
commit b6e9e0c2d3
7 changed files with 37 additions and 8 deletions

View File

@@ -65,7 +65,8 @@ namespace zmq
enum error_reason_t {
protocol_error,
connection_error,
timeout_error
timeout_error,
encryption_error
};
stream_engine_t (fd_t fd_, const options_t &options_,