hton1 function not found!
Hi all,
I included <netitnet/in.h> as mentioned in "man htons" but when I am trying to compile i am getting an error for "hton1()" please advise.... cheers. abhijit |
It might be the font but it looks like you've written hton1 instead of htonl (an L).
kezz |
if the above is true it is because the function is an abbreviation of Host TO Network Long. Similarly there is also htons (host to network short) and reverse versions ntohl and htons.
kezz |
All times are GMT -5. The time now is 06:26 AM. |