private static void ClientRegisterRequest(Socket clientSocket, List <string> content) { var networkServerResponse = NetworkServerResponses.RegisterSuccess; if (!CuentaNetwork.TryRegister(content[1], content[2], content[3])) { networkServerResponse = NetworkServerResponses.RegisterError; } IList <ArraySegment <byte> > serverResponse = CreateServerResponse(networkServerResponse); Send(clientSocket, serverResponse); }