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
socket.inet_aton
In the case of an IPv6 only environment, or a dual stack environment where the advertise address is being supplied, we will fail to initialize:
>>> addr = socket.inet_aton('::1') Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: illegal IP address string passed to inet_aton
this happens here:
HAP-python/pyhap/accessory_driver.py
Line 142 in 4b1890c
It's a rather niche case, but would be good to replace this usage with socket.inet_pton: https://docs.python.org/3/library/socket.html#socket.inet_pton
socket.inet_pton
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the case of an IPv6 only environment, or a dual stack environment where the advertise address is being supplied, we will fail to initialize:
this happens here:
HAP-python/pyhap/accessory_driver.py
Line 142 in 4b1890c
It's a rather niche case, but would be good to replace this usage with
socket.inet_pton
: https://docs.python.org/3/library/socket.html#socket.inet_ptonThe text was updated successfully, but these errors were encountered: