rpma_conn_cfg_set_timeout - set connection establishment timeout
#include <librpma.h>
struct rpma_conn_cfg;
int rpma_conn_cfg_set_timeout(struct rpma_conn_cfg *cfg,
int timeout_ms);
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).
The rpma_conn_cfg_set_timeout() function returns 0 on success or a negative error code on failure.
rpma_conn_cfg_set_timeout() can fail with the following error:
rpma_conn_cfg_new(3), rpma_conn_cfg_get_timeout(3), librpma(7) and https://pmem.io/rpma/
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.