Download Version 1.1.0
Latest Release conn.h include file
The connection library is used to pass binary data efficiently between possibly non-homogeneous systems. It takes care of all the socket level connecting, the binary type negotiations to determine which types can be sent across the wire, and the conversion of the binary information between the two systems.
If necessary it will use the ntohl and ntohs functions to convert shorts and 32-bit integers into network byte order. It currently cannot handle swapping 64-bit long integers (don't be confused by the ntohl).
See the conn_t.c file for sample usage and the conn.h header file for the function prototypes and comments. My apologies for the minimal documentation.