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
Difference between isCorrent and isValid #68
Comments
agreed, “correctness” as a concept was really only given much thought for v6 but it can also be applied to v4, I’ll give that some thought
…---
Sent from my phone.
On Feb 23, 2018, at 02:24, Markus Fuchs ***@***.***> wrote:
The semantics of isCorrect and isValid in Address4 and Address6 are not obvious and should be part of the documentation.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
So, what is the difference between the two methods? I'm trying to figure out which one to use. |
an address like more information on IPv6 preferred form here: https://tools.ietf.org/html/rfc5952#page-10 similarly for IPv4 an address like make more sense? |
in the code I believe I just compare the input string to the result of |
Thanks! Makes perfect sense! |
The semantics of
isCorrect
andisValid
inAddress4
andAddress6
are not obvious and should be part of the documentation.The text was updated successfully, but these errors were encountered: