Created
April 15, 2016 08:32
-
-
Save rikioy/7f2064d59442127096497b3bd3c5b5b6 to your computer and use it in GitHub Desktop.
int2ip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| string int2ip(unsigned int ip_num){ | |
| struct in_addr in; | |
| in.s_addr = ip_num; | |
| return inet_ntoa(in); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment