| [Overview][Constants][Types][Procedures and functions][Index] | 
Convert short integer from host ordered to network ordered
Source position: socketsh.inc line 188
| function htons( | 
| host: Word | 
| ):Word; | 
htons makes sure that the bytes in host are ordered in the correct way for sending over the network and returns the correctly ordered result.
| 
 | Convert long integer from host ordered to network ordered | |
| 
 | Convert long integer from network ordered to host ordered | |
| 
 | Convert short integer from network ordered to host ordered |