[Overview][Constants][Types][Procedures and functions][Index] |
Convert short integer from network ordered to host ordered
Source position: socketsh.inc line 189
function NToHs( |
Net: Word |
):Word; |
ntohs makes sure that the bytes in Net, received from the network, are ordered in the correct way for handling by the host machine, and returns the correctly ordered result.
|
Convert long integer from host ordered to network ordered |
|
|
Convert short integer from host ordered to network ordered |
|
|
Convert long integer from network ordered to host ordered |