mongoc_socket_send()
Sends buflen bytes in buf to the destination. If a timeout expired, the number of bytes sent will be returned or -1 if no bytes were sent.
- Provided by: libmongoc-doc (Version: 1.3.1-1)
- Source: libmongoc
- Report a bug
Sends buflen bytes in buf to the destination. If a timeout expired, the number of bytes sent will be returned or -1 if no bytes were sent.
ssize_t
mongoc_socket_send (mongoc_socket_t *sock,
const void *buf,
size_t buflen,
int64_t expire_at);
Sends buflen bytes in buf to the destination. If a timeout expired, the number of bytes sent will be returned or ‐1 if no bytes were sent.
‐1 on failure and errno is set, or the number of bytes sent.
This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.