mongoc_socket_recv (3) Linux Manual Page
mongoc_socket_recv() – This function performs a recv() on the underlying socket.
Synopsis
ssize_t
mongoc_socket_recv (mongoc_socket_t *sock,
void *buf,
size_t buflen,
int flags,
int64_t expire_at);
Parameters
- sock
- A mongoc_socket_t \&.
- buf
- A buffer to read into.
- buflen
- A size_t with the number of bytes to receive.
- flags
- flags for recv(3) \&.
- expire_at
- A int64_t with the time to expire in monotonic time using bson_get_monotonic_time(3) , which is in microseconds.
