We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
from nanomsg import Socket, PAIR, SOL_SOCKET, RCVTIMEO import time s1 = Socket(PAIR) s1.recv_timeout = 100 s1.connect('tcp://127.0.0.1:9099')
s1.recv_timeout = 100 <--- this line is wrong
Traceback (most recent call last): File "/mnt/d/mypython/mynanomsg/nanomsg_pair_linux.py", line 5, in s1.recv_timeout = 100 File "/root/.pyenv/versions/3.7.4/lib/python3.7/site-packages/nanomsg-1.0-py3.7-linux-x86_64.egg/nanomsg/init.py", line 245, in _set_recv_timeout return self.set_int_option(SOL_SOCKET, RCVTIMEO, value) File "/root/.pyenv/versions/3.7.4/lib/python3.7/site-packages/nanomsg-1.0-py3.7-linux-x86_64.egg/nanomsg/init.py", line 376, in set_int_option buf)) File "/root/.pyenv/versions/3.7.4/lib/python3.7/site-packages/nanomsg-1.0-py3.7-linux-x86_64.egg/nanomsg/init.py", line 63, in _nn_check_positive_rtn raise NanoMsgAPIError() nanomsg.NanoMsgAPIError: Invalid argument
The text was updated successfully, but these errors were encountered:
No branches or pull requests
s1.recv_timeout = 100 <--- this line is wrong
Traceback (most recent call last):
File "/mnt/d/mypython/mynanomsg/nanomsg_pair_linux.py", line 5, in
s1.recv_timeout = 100
File "/root/.pyenv/versions/3.7.4/lib/python3.7/site-packages/nanomsg-1.0-py3.7-linux-x86_64.egg/nanomsg/init.py", line 245, in _set_recv_timeout
return self.set_int_option(SOL_SOCKET, RCVTIMEO, value)
File "/root/.pyenv/versions/3.7.4/lib/python3.7/site-packages/nanomsg-1.0-py3.7-linux-x86_64.egg/nanomsg/init.py", line 376, in set_int_option
buf))
File "/root/.pyenv/versions/3.7.4/lib/python3.7/site-packages/nanomsg-1.0-py3.7-linux-x86_64.egg/nanomsg/init.py", line 63, in _nn_check_positive_rtn
raise NanoMsgAPIError()
nanomsg.NanoMsgAPIError: Invalid argument
The text was updated successfully, but these errors were encountered: