-
Notifications
You must be signed in to change notification settings - Fork 763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SOCKET no longer defined since winsock2.h removed from zmq.h #382
Comments
Sounds good, thank you! |
Oops deeply sorry, I meant to post this to https://github.com/zeromq/zmqpp ! |
Hi. I also see this issue (at least with Visual Studio 17). I have to add
|
I've encountered same error @daravi 's solution nicely works. Also, I'd like to point out
Maybe I should open a new issue |
Guys I closed it because I was using the other ZeroMQ CPP project and intended to post there. However this project is probably afflicted the same way. The issue + PR I issued for that library is here zeromq/zmqpp#233 but the fix there was a tad different because they had an aliased socket type. If you are experiencing the issue on this library you should re-open this issue and do a PR 👍 |
If you try to build this library with a newer release of ZeroMQ, on a windows box, you get errors because SOCKET can't be resolved in compatability.h.
This was introduced in this merge I believe: zeromq/libzmq#3681
I will submit a PR that introduces the same fix into this code base as was proposed in that one.
The text was updated successfully, but these errors were encountered: