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
Cannot connect to a listener on 0.0.0.0 #87
Comments
Hi Pascal J. Bourguignon, I'm sorry that I overlooked your code provided in #75. Now I have committed your version (for Clozure CL since its IPv6 support), and added the above two tests into the test suite. I'm also on macOS, now it seems worked:
Thanks again for your patch. Regards, Chun Tian |
And I will test and adapt your algorithm also on other Lisp platforms (which supports IPv6, especially LispWorks and SBCL) to see if they suffer from the issue. |
Thank you. |
Related to #75 but here, characterised as a bug.
This is in the context of IPv6, with both IPv6 and IPv4 interfaces.
Notably, localhost has a A and an AAAA records!
Listening to localhost and connecting to localhost works:
But listening on all the IPv4 addresses, and connecting to localhost does not work:
That's because as mentionned in #75, usocket:socket-connect only tries IPv6 and not both IPv6 and IPv4 addresses. Cf. patch provided in #75.
The text was updated successfully, but these errors were encountered: