BRL-CAD
System Network Header Wrangler

BRL-CAD system compatibility wrapper header that provides declarations for native and standard system NETWORKING routines. More...

Collaboration diagram for System Network Header Wrangler:

Files

file  bnetwork.h
 

Functions

uint32_t htonl (uint32_t)
 
uint32_t ntohl (uint32_t)
 

Detailed Description

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.

Function Documentation

◆ htonl()

uint32_t htonl ( uint32_t  )

◆ ntohl()

uint32_t ntohl ( uint32_t  )