Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.
3 thoughts on “WPF and PowerShell Ep5 3 different ways to enter an IP address (redo)”
My guess about why it converts 1.1 to 1.0.0.1 has to do with IPv6. If you had for example FD00::1, it would need to convert that to FD00:0000:0000:0000:0000:0000:0000:0001. Perhaps it's inadvertently doing a smiliar thing with an IPv4 address? Total guess.
The answer to you question on why 127.1 is the same as 127.0.0.1 is: IPv4 concatenation Like you can in IPv6 where you use :: to concationate 0's
So basically, pinging 127.1 is the same as pinging 127.0.0.1
Thanx a lot for these videos btw.
Nice series, Jim. Question: When you alter the contents of a text box within the "contents changed" event handler, do you have to worry about triggering another "contents changed" event?
My guess about why it converts 1.1 to 1.0.0.1 has to do with IPv6. If you had for example FD00::1, it would need to convert that to FD00:0000:0000:0000:0000:0000:0000:0001. Perhaps it's inadvertently doing a smiliar thing with an IPv4 address? Total guess.
The answer to you question on why 127.1 is the same as 127.0.0.1 is: IPv4 concatenation
Like you can in IPv6 where you use :: to concationate 0's
So basically, pinging 127.1 is the same as pinging 127.0.0.1
Thanx a lot for these videos btw.
Nice series, Jim. Question: When you alter the contents of a text box within the "contents changed" event handler, do you have to worry about triggering another "contents changed" event?