getConnectedClients

ServerSocket::getConnectedClients

Returns information about all the clients connected to the server.

Declaration

const std::unordered_map<ConnectedClientID, ConnectedClient>& getConnectedClients();

Parameters

None.

Returns

An std::unordered_map using the ConnectedClientID as a key and ConnectedClient as the value, for all clients connected to the server.