diff options
| author | stonedDiscord <stoned@derpymail.org> | 2020-02-21 16:39:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-21 16:39:32 +0100 |
| commit | 7d55ff01f5f139aaa4a343e93429997418cfd8bb (patch) | |
| tree | 21950571b4e933583101db6c7b2405f55c48c03e /include/networkmanager.h | |
| parent | abbbb43c985271c6d66b94ee384c6a401e43de8d (diff) | |
| parent | 6ccabdd568075dfcecc6190d8d41a50b8bd99b84 (diff) | |
Merge branch 'master' into 2.7
Diffstat (limited to 'include/networkmanager.h')
| -rw-r--r-- | include/networkmanager.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/networkmanager.h b/include/networkmanager.h index e28abfda..08b10db8 100644 --- a/include/networkmanager.h +++ b/include/networkmanager.h @@ -44,13 +44,11 @@ public: QString ms_nosrv_hostname = "master.aceattorneyonline.com"; #endif - const int ms_port = 27016; + const quint16 ms_port = 27016; const int timeout_milliseconds = 2000; - const int ms_reconnect_delay_ms = 7000; - - // kind of arbitrary max buffer size - const size_t buffer_max_size = 16384; + // in seconds + const int ms_reconnect_delay = 7; bool ms_partial_packet = false; QString ms_temp_packet = ""; |
