MONGOC_SOCKET_RECV(3) | MongoDB C Driver | MONGOC_SOCKET_RECV(3) |
mongoc_socket_recv - mongoc_socket_recv()
ssize_t mongoc_socket_recv (mongoc_socket_t *sock,
void *buf,
size_t buflen,
int flags,
int64_t expire_at);
This function performs a recv() on the underlying socket.
The number of bytes received on success, 0 on stream closed, and -1 if there was a failure and errno is set.
MongoDB, Inc
2017-present, MongoDB, Inc
February 23, 2019 | 1.14.0 |