![]() |
|
| << Previous | Index | Next >> | |
| | |
longword htonl( longword value );
Description
This function converts a host-ordered double word to a network-ordered double word. This function is necessary if you are implementing standard internet protocols because the Rabbit does not use the standard for network-byte ordering. The network orders bytes with the most significant byte first and the least significant byte last. On the Rabbit, the bytes are in the opposite order.
Parameters
value
- Host-ordered double word.
Return Value
- Host word in network format, e.g.,
htonl(0x44332211)returns 0x11223344.Library
NET.LIB (Prior to DC 7.05, this was DCRTCP.LIB)
See Also
| TCP/IP Manual Vol 1 |
<<Previous | Index | Next>> | rabbit.com |