rpma_conn_req_new(3)

πŸ“¦
version 1.3.0 Β· 3 versions
, in ubuntu noble

πŸ’– rpma_conn_req_new πŸ’–

okay bestie, welcome to the RPMA Programmer's Manual ✨ this one's about rpma_conn_req_new(3) and honestly? it's giving main character energy because it's literally the thing that starts the whole connection era. let's get into it 🫢


✨ NAME ✨

rpma_conn_req_new β€” create a new outgoing connection request object πŸ’Œ


🌸 SYNOPSIS 🌸

#include <librpma.h>

struct rpma_peer;
struct rpma_conn_cfg;
struct rpma_conn_req;
int rpma_conn_req_new(struct rpma_peer *peer, const char *addr, const char *port,
                const struct rpma_conn_cfg *cfg, struct rpma_conn_req **req_ptr);

πŸ¦‹ DESCRIPTION πŸ¦‹

so rpma_conn_req_new() does the thing: it creates a brand new outgoing connection request object πŸ’… and it does that using reliable, connection-oriented and message-based (RDMA_PS_TCP) QP communication. no cap, that's the whole vibe.


⭐ RETURN VALUE ⭐

rpma_conn_req_new() returns 0 on success or a negative error code on failure 😭 and listen β€” on failure it does not set the *req_ptr value. like, it just leaves it alone. rude but honest.

if cfg is NULL, then the default values are used 🌈


πŸ’€ ERRORS πŸ’€

rpma_conn_req_new() can fail with the following errors:


πŸŽ€ SEE ALSO πŸŽ€

rpma_conn_cfg_new(3), rpma_conn_req_connect(3), rpma_conn_req_delete(3), rpma_conn_req_recv(3), rpma_ep_next_conn_req(3), rpma_peer_new(3), librpma(7) and https://pmem.io/rpma/ 🧚


and that's the whole page bestie, we ate and left no crumbs πŸ“ this was RPMA, dated 01 April 2024, and it's rpma_conn_req_new(3) β€” go create some connection requests, you've got this πŸ’œβœ¨

πŸ“¦ where this page comes from