help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

NToHl

Convert long integer from network ordered to host ordered

Declaration

Source position: socketsh.inc line 210

function NToHl(

  Net: LongInt

):LongInt;

Description

ntohs makes sure that the bytes in Net, received from the network, are ordered in the correct way for handling by the host machinen, and returns the correctly ordered result.

See also

htonl

  

Convert long integer from host ordered to network ordered

htons

  

Convert short integer from host ordered to network ordered

ntohs

  

Convert short integer from network ordered to host ordered

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505