From 77d23f627d7f0d955d06eba9152b48dbe64c2251 Mon Sep 17 00:00:00 2001 From: badaix Date: Wed, 29 Jan 2025 22:38:59 +0100 Subject: [PATCH] Set default protocol to "tcp" --- client/client_settings.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client_settings.hpp b/client/client_settings.hpp index 0e671c00..096cd597 100644 --- a/client/client_settings.hpp +++ b/client/client_settings.hpp @@ -63,7 +63,7 @@ struct ClientSettings /// server host or IP address std::string host; /// protocol: "tcp", "ws" or "wss" - std::string protocol; + std::string protocol{"tcp"}; /// server port size_t port{1704}; /// server certificate