ShortNetToHost
Convert a network port number to a host port number
Declaration
Source position: socketsh.inc line 204
function ShortNetToHost(Net: Word) : Word;
Description
ShortNetToHost converts a network port number to a host port number. It takes care of endianness of the host machine.
Errors
None.
See also
| Name | Description |
|---|---|
| HostToNet | Convert a host address to a network address |
| HToNS | Convert short integer from host ordered to network ordered |
| NToHS | Convert short integer from network ordered to host ordered |
| ShortNetToHost | Convert a network port number to a host port number |