zeromq / clrzmq4

ZeroMQ C# namespace (.NET and mono, Windows, Linux and MacOSX, x86 and amd64)
GNU Lesser General Public License v3.0
237 stars 112 forks source link

Heartbeat incompatibility with jeromq using curve #179

Open TTonyChopper opened 5 years ago

TTonyChopper commented 5 years ago

Hello, I am currently working on a client application in C# using the nuget package ZEROMQ version 4.1.0.31 connected to a server application in java using jeromq library.

I have been using the integrated heartbeat features in both libraries and when connecting the client to the server it is working as expected, using Plain and Null authentications. However, when migrating to curve authentication, it seems that the ZEROMQ C# library does not manage correctly the PONG heartbeat response sent by the server(jeromq) and transfer it to the application level, which is not expecting this message.

Is it a bug or is it because the heartbeats are not supported with Curve authentication, or is it due to the incompatibility between both libraries ?

Do you have any suggestions about this issue ? Thank you very much.