| [Overview][Constants][Types][Procedures and functions][Index] | 
Convert a network address to a host address.
Source position: socketsh.inc line 198
function NetToHost(  | 
Net: in_addr  | 
):in_addr;  | 
Net: LongInt  | 
):LongInt;  | 
NetToHost converts a network address to a host address. It takes care of endianness of the host machine. The address can be specified as a dotted quad or as a longint.
None.
  | 
Convert a host address to a network address  | 
|
  | 
Convert short integer from network ordered to host ordered  | 
|
  | 
Convert short integer from host ordered to network ordered  | 
|
  | 
Convert a host port number to a network port number  | 
|
  | 
Convert a network port number to a host port number  |