BRL-CAD
|
BRL-CAD system compatibility wrapper header that provides declarations for native and standard system NETWORKING routines. More...
Files | |
file | bnetwork.h |
Functions | |
uint32_t | htonl (uint32_t) |
uint32_t | ntohl (uint32_t) |
BRL-CAD system compatibility wrapper header that provides declarations for native and standard system NETWORKING routines.
This header is commonly used in lieu of including the following: winsock2.h (not select, fd_set), netinet/in.h, netinet/tcp.h, arpa/inet.h (htonl, ntohl, etc)
The logic in this header should not rely on common.h's HAVE_* defines and should not be including the common.h header. This is intended to be a stand-alone portability header intended to be independent of build system, reusable by external projects.
uint32_t htonl | ( | uint32_t | ) |
Referenced by Serializer::write_uint32().
uint32_t ntohl | ( | uint32_t | ) |
Referenced by Deserializer::read_uint32().