#include <arpa/inet.h>
or
|
#include <netinet/in.h>
|
uint32_t
htonl (uint32_t hostlong); |
uint16_t
htons (uint16_t hostshort); |
uint32_t
ntohl (uint32_t netlong); |
uint16_t
ntohs (uint16_t netshort); |
These routines are most often used in conjunction with Internet addresses and ports as returned by gethostbyname and getservent.
© 2008 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user. |