rpma_ep_shutdown
stop listening and delete the endpoint
- Provided by: librpma-dev (Version: 1.3.0-2build2)
- Source: rpma
- Report a bug
stop listening and delete the endpoint
#include <librpma.h>
struct rpma_ep;
int rpma_ep_shutdown(struct rpma_ep **ep_ptr);
rpma_ep_shutdown() stops listening for incoming connections and deletes the endpoint. The connections established using the endpoint will still exist after deleting the endpoint.
The rpma_ep_shutdown() function returns 0 on success or a negative error code on failure. rpma_ep_shutdown() does not set *ep_ptr value to NULL on failure.
rpma_ep_shutdown() can fail with the following errors:
rpma_ep_listen(3), librpma(7) and https://pmem.io/rpma/