mongoc_socket_recv (3) - Linux Man Pages
mongoc_socket_recv: This function performs a recv() on the underlying socket.
NAMEmongoc_socket_recv() - This function performs a recv() on the underlying socket.
ssize_t mongoc_socket_recv (mongoc_socket_t *sock, void *buf, size_t buflen, int flags, int64_t expire_at);
- A mongoc_socket_t \&.
- A buffer to read into.
- A size_t with the number of bytes to receive.
- flags for recv(3) \&.
- A int64_t with the time to expire in monotonic time using bson_get_monotonic_time(3) , which is in microseconds.
This function performs a recv(3) 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.
COLOPHONThis page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.
Linux man pages generated by: SysTutorials
Linux Man Pages Copyright Respective Owners. Site Copyright © SysTutorials. All Rights Reserved.