|
BRL-CAD
|
BRL-CAD system compatibility wrapper header that provides declarations for native and standard system NETWORKING routines. More...
Files | |
| file | bnetwork.h |
Macros | |
| #define | INADDR_ANY ((uint32_t)0x00000000) |
| #define | INADDR_LOOPBACK ((uint32_t)0x7f000001) |
| #define | INADDR_BROADCAST ((uint32_t)0xffffffff) |
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.
Definition at line 73 of file bnetwork.h.
Definition at line 76 of file bnetwork.h.
Definition at line 79 of file bnetwork.h.
Referenced by Serializer::write_uint32().
Referenced by Deserializer::read_uint32().