htonl¶
Convert long integer from host ordered to network ordered.
Declaration¶
Source position: socketsh.inc line 193
function htonl(host: Cardinal) : Cardinal; overload; overload;
Description¶
htonl makes sure that the bytes in host are ordered in the correct way for sending over the network and returns the correctly ordered result.