So, if I converting ip address from 8-bit to int_32 type.
address = (((((ip<<8)+ip)<<8)+ip)<<8)+ip;
But, which's way reverse that?
I tried this way
However. I've got a value prefix where has been that ip-address.Code:for (;i<4; ++i) id[i] = (address >> (i*8)) & 0xFF; printf("%u\n", id[i]);
How to do converting value from int_32 to 8-bit?