Tag Archives: IP

How to convert hexadecimal number to IP address in C++

When you need to convert hexadecimal number in C++ like 0DF52286 to standard IP address format like 13.245.34.134 you can use this code:

The method takes one argument which is the IP address in hexadecimal format.