Sign in Join
FPDoc Onlineexperiment

HostToNet function deprecated

In unit Sockets

Convert a host address to a network address.

Declaration

pascal
function HostToNet(Host: in_addr): in_addr

Description

HostToNet converts a host address to a network address. It takes care of endianness of the host machine. The address can be specified as a dotted quad or as a longint.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.