Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

how does one convert network byte order to machine byte order ? O.o

$
0
0
hey guys im trying to make a program that converts my ip to hex just like this website: http://www.miniwebtool.com/ip-address-to-hex-converter and i have not really been successful :L i tried to use ntohl (network to host long) :P/>

so how does one do that ? i have tried so many things and still im not able to produce it :(/> help me please

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>