NToHl¶
Convert long integer from network ordered to host ordered.
Declaration¶
Source position: socketsh.inc line 194
function NToHl(Net: Cardinal) : Cardinal; overload; overload;
Description¶
ntohs makes sure that the bytes in Net, received from the network, are ordered in the correct way for handling by the host machine, and returns the correctly ordered result.