rpma_ep_next_conn_req(3) | RPMA Programmer's Manual | rpma_ep_next_conn_req(3) |
rpma_ep_next_conn_req - obtain an incoming connection request
#include <librpma.h> struct rpma_ep; struct rpma_conn_cfg; struct rpma_conn_req; int rpma_ep_next_conn_req(struct rpma_ep *ep, const struct rpma_conn_cfg *cfg, struct rpma_conn_req **req_ptr);
rpma_ep_next_conn_req() obtains the next connection request from the endpoint.
The rpma_ep_next_conn_req() function returns 0 on success or a negative error code on failure. rpma_ep_next_conn_req() does not set *req_ptr value on failure.
rpma_ep_next_conn_req() can fail with the following errors:
rpma_conn_cfg_new(3), rpma_conn_req_delete(3), rpma_conn_req_connect(3), rpma_ep_listen(3), librpma(7) and https://pmem.io/rpma/
29 October 2024 | RPMA |