[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'Sockets' (#rtl)

htonl

Convert long integer from host ordered to network ordered

Declaration

Source position: socketsh.inc line 208

function htonl(

  host: LongInt

):LongInt;

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.

See also

htons

  

Convert short integer from host ordered to network ordered

ntohl

  

Convert long integer from network ordered to host ordered

ntohs

  

Convert short integer from network ordered to host ordered

The latest version of this document can be found at lazarus-ccr.sourceforge.net.