How to get user_data passed from client while creating endpoint in server ? #10730
Answered
by
bosilca
PrateekJoshi
asked this question in
Q&A
Replies: 1 comment 4 replies
-
ucp_ep_attr_t attr;
attr.field_mask = UCP_EP_ATTR_FIELD_USER_DATA;
auto status = ucp_ep_query(ep, &attr);
if (UCS_OK == status) ... |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
bosilca
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I see that there is a parameter called
user_data
inucp_ep_params_t
stuct which can be passed while creating an endpoint. I am passing a unique id in this parameter as below in my client :I want to know how can I get this user_data in my server during connection establishment?
Beta Was this translation helpful? Give feedback.
All reactions