Adding getters for sockets allows iteration of connected sockets and selectively send messages to those sockets.
I have some security requirements that I only send message to specific users based on their properties. Similar to this question asked here. This PR allows me to get at the list of currently connected clients so that I can pick and choose which ones to send to.
Adding getters for sockets allows iteration of connected sockets and selectively send messages to those sockets.
I have some security requirements that I only send message to specific users based on their properties. Similar to this question asked here. This PR allows me to get at the list of currently connected clients so that I can pick and choose which ones to send to.