Skip to content
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

can't construct azmq socket #148

Closed
beastplus opened this issue Feb 1, 2019 · 3 comments
Closed

can't construct azmq socket #148

beastplus opened this issue Feb 1, 2019 · 3 comments

Comments

@beastplus
Copy link

When attempting run the code that used in the README.md example, I get a exception, the error code is ERROR_INVALID_PARAMETER. it's thrown by win_iocp_io_context when call the method CreateIoCompletionPort during create new instance of azmq::sub_socket. if defined BOOST_ASIO_DISABLE_IOCP,it worked fine.
the develop environment is
windows10 x64
visual studio 2017 + vcpkg(triplet x64-windows)
cmake 3.13.2
zmq 4.3.1
azmq 1.0.2
boost 1.68

@sigiesec
Copy link
Member

See zeromq/libzmq#3269

@sigiesec
Copy link
Member

sigiesec commented Mar 27, 2019

I reproduced the issue in libzmq, and will soon submit a PR. I will also add a test case for this to ensure it does not break again. Since it is a libzmq issue, this issue can probably be closed.

@beastplus
Copy link
Author

beastplus commented Mar 29, 2019

thank you for your reply,i will try it later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants