oatpp / oatpp-websocket

oatpp-websocket submodule.
https://oatpp.io/
Apache License 2.0
78 stars 32 forks source link

Getting list of connected WebSockets #40

Closed npastuh0v closed 1 year ago

npastuh0v commented 1 year ago

Hello. I am writing a server that sends data to multiple users at the same time. I have an idea to store a container with websockets and iterate through them to send data to all connected users. There is such a question: is it possible to get a list of clients connected to my server by means of the library, or, at least, to search through the container by means of the std library? Thanks)

madkote commented 10 months ago

please check async example with rooms and peers