rpma_ep_listen(3) | RPMA Programmer's Manual | rpma_ep_listen(3) |
rpma_ep_listen - create a listening endpoint
#include <librpma.h>
struct rpma_peer;
struct rpma_ep;
int rpma_ep_listen(struct rpma_peer *peer, const char *addr, const char *port,
struct rpma_ep **ep_ptr);
rpma_ep_listen() creates an endpoint and initiates listening for incoming connections using reliable, connection-oriented and message-based (RDMA_PS_TCP) QP communication.
The rpma_ep_listen() function returns 0 on success or a negative error code on failure. rpma_ep_listen() does not set *ep_ptr value on failure.
rpma_ep_listen() can fail with the following errors:
rpma_ep_get_fd(3), rpma_ep_next_conn_req(3), rpma_ep_shutdown(3), rpma_peer_new(3), librpma(7) and https://pmem.io/rpma/
10 January 2023 | RPMA |