You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make my problem understandable, I will refer to the pubsub example server implementation.
What I want is to add the remote ip to the SubscriberHandle. I will need that later for establishing direct communication between two clients.
The issue is, when the SubscriberHandle is created in the subscribe function, I am not able to retrieve the remote ip. I just found being able to get the ip after the call to listener.accept().
What is a good way to access the remote ip when creating the SubscriberHandle?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
To make my problem understandable, I will refer to the pubsub example server implementation.
What I want is to add the remote ip to the
SubscriberHandle
. I will need that later for establishing direct communication between two clients.The issue is, when the
SubscriberHandle
is created in thesubscribe
function, I am not able to retrieve the remote ip. I just found being able to get the ip after the call tolistener.accept()
.What is a good way to access the remote ip when creating the
SubscriberHandle
?Beta Was this translation helpful? Give feedback.
All reactions