2

Hi I'm trying to use a poll() function from the ZeroMQ library on the server side.

In fact I want to receive notifications from my clients in order to execute a script in my code.

I found that link
using zmq::poll in multithreaded c++0x11 program in combination with cntr +x or kill signal

It throws an instance of zmq::error_t socket operation on non socket

It seems not to be working for me!

Community
  • 1
  • 1
MOS_stef
  • 21
  • 3
  • 1
    This code is far from a StackOverflow **promoted MCVE method** of posting the high quality Questions. Text states (cit.:) "... on server side. ... my clients ... It seems ... ." **Update your Question to contain a fully representative MCVE for both the server & client** that can reproduce the problem you are reporting and asking the Community to help diagnose and fix. **This is the StackOverflow preferred way** to constructively solve and discuss any kind of MCVE related issues. Anyway, **welcome to this great Community of knowledge** and feel free to contribute in our way forwards. – user3666197 Jun 27 '16 at 17:15
  • I suspect there's an easy fix - just fix the code and it will work as expected. (aka, please show some code) – kfsone Jun 27 '16 at 17:27
  • Regardless, error messages should be clear, and should not require code context to see them. – Owl Jan 23 '19 at 09:55

0 Answers0