[Overview][Constants][Types][Procedures and functions][Index] |
Convert a host address to a network address
Source position: socketsh.inc line 199
function HostToNet( |
Host: in_addr |
):in_addr; |
Host: LongInt |
):LongInt; |
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.
None.
|
Convert a network address to a host 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 |