rpma_conn_cfg_set_timeout(3)

rpma_conn_cfg_set_timeout3

Set connection establishment timeout

Usage

      #include <librpma.h>
      struct rpma_conn_cfg;
      int rpma_conn_cfg_set_timeout(struct rpma_conn_cfg *cfg, int timeout_ms);

Overview

rpma_conn_cfg_set_timeout() sets the connection establishment timeout. If this function is not called, the timeout has the default value (1000) set by rpma_conn_cfg_new(3).

Return value

The rpma_conn_cfg_set_timeout() function returns 0 on success or a negative error code on failure.

Errors

rpma_conn_cfg_set_timeout() can fail with the following error:

•

RPMA_E_INVAL - cfg is NULL or timeout_ms < 0

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.