rpma_ep_listen(3)

rpma_ep_listen3

Create a listening endpoint

Usage

      #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);

Overview

rpma_ep_listen() creates an endpoint and initiates listening for incoming connections using reliable, connection-oriented and message-based (RDMA_PS_TCP) QP communication.

Return value

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.

Errors

rpma_ep_listen() can fail with the following errors:

•

RPMA_E_INVAL - peer, addr, port or ep_ptr is NULL

•

RPMA_E_NOMEM - out of memory

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From librpma-dev 1.3.0-2+b3 in Debian 13 (Trixie). Parsed by carta from the page's man source.