|  |  
 |   |   
 SYNOPSISmongoc_socket_t * mongoc_socket_new (int domain, PARAMETERS
 DESCRIPTIONCreates a new mongoc_socket_t structure. This calls socket() underneath to create a network socket. RETURNSA new socket if successful, otherwise NULL and errno is set. The result should be freed with mongoc_socket_destroy() when no longer in use. AUTHORMongoDB, Inc COPYRIGHT2009-present, MongoDB, Inc. 
 
 |