Sign in Join
FPDoc Onlineexperiment

ShortHostToNet function deprecated

In unit Sockets

Convert a host port number to a network port number.

Declaration

pascal
function ShortHostToNet(Host: Word): Word

Description

ShortHostToNet converts a host port number to a network port number. It takes care of endianness of the host machine.

Errors

None.

See also

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