public void Send <T>(int serverClientId, T value) { if (serverClientId < 0) { throw new Exception("Negative ids are reserved for SocketFlow"); } Send(serverClientId, server.GetData(value)); }
public void Send <T>(int serverClientId, T value) { if (serverClientId < 0) { throw new Exception("Negative ids are reserved for SocketFlow"); } var data = server.GetData(value); foreach (var client in clients) { client.Send(serverClientId, data); } }