mongoc_socket_t

Portable socket abstraction

Synopsis

#include <mongoc/mongoc.h>

typedef struct _mongoc_socket_t mongoc_socket_t

Synopsis

This structure provides a socket abstraction that is friendlier for portability than BSD sockets directly. Inconsistencies between Linux, various BSDs, Solaris, and Windows are handled here.