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
uWS is running it's own thread. What's the normal way to send a message to a specific client from outside uWS? My initial thought was a map from internal ID to socket pointer but the docs say that a map shouldn't be required. My current work around is to have each socket subscribe to it's internal ID as the topic, but this doesn't seem right.
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
Uh oh!
There was an error while loading. Please reload this page.
-
uWS is running it's own thread. What's the normal way to send a message to a specific client from outside uWS? My initial thought was a map from internal ID to socket pointer but the docs say that a map shouldn't be required. My current work around is to have each socket subscribe to it's internal ID as the topic, but this doesn't seem right.
Beta Was this translation helpful? Give feedback.
All reactions