A Simple widget to display client IP Address and print if the client is connecting via IPv6 or IPv4.
Internet Protocol version 4 (IPv4) is the fourth revision in the development of the Internet Protocol (IP) and the first version of the protocol to be widely deployed. It is at the core of standards-based internetworking methods of the Internet. As of 2012 IPv4 is still the most widely deployed Internet Layer protocol. IPv4 uses 32-bit (four-byte) addresses, which limits the address space to 4.294.967.296 (2^32) addresses. Addresses were assigned to users, and the number of unassigned addresses decreased. IPv4 address exhaustion occurred on February 3, 2011. It had been significantly delayed by address changes such as classful network design, Classless Inter-Domain Routing, and network address translation (NAT). IPv4 addresses, as commonly displayed to users, consist of four groups of three decimal digits separated by dots.
IPv6 (Internet Protocol version 6) is the latest revision of the Internet Protocol (IP), the primary communications protocol upon which the entire Internet is built. It is intended to replace the older IPv4, which is still employed for the vast majority of Internet traffic as of 2012. IPv6 was developed by the Internet Engineering Task Force (IETF) to deal with the long-anticipated problem of IPv4 running out of addresses. IPv6 uses 128-bit addresses, allowing for 2?128, or approximately 3.4×10^38 addresses — more than 7.9×10^28 times as many as IPv4. IPv6 addresses, as commonly displayed to users, consist of eight groups of four hexadecimal digits separated by colons.