diff options
| author | oldmud0 <3421260-oldmud0@users.noreply.gitlab.com> | 2019-07-12 23:00:25 +0000 |
|---|---|---|
| committer | oldmud0 <3421260-oldmud0@users.noreply.gitlab.com> | 2019-07-12 23:00:25 +0000 |
| commit | 2a5d569511af7d9411cd73f2dfd329da38730dc0 (patch) | |
| tree | 7eb561cd17039bb29e2f50dd5699c634051d72b2 /include/networkmanager.h | |
| parent | 621aa1adacec2bcc6befb1a4a70eff7c0e46e7b6 (diff) | |
| parent | 5eccabcad15a52691228aded1d9c1fd5074fb70e (diff) | |
Merge branch 'less_insane_debugging' into 'master'
Less insane debugging
See merge request AttorneyOnline/AO2-Client!75
Diffstat (limited to 'include/networkmanager.h')
| -rw-r--r-- | include/networkmanager.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/networkmanager.h b/include/networkmanager.h index e28abfda..f26e658c 100644 --- a/include/networkmanager.h +++ b/include/networkmanager.h @@ -44,13 +44,14 @@ 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; + // in seconds + const int ms_reconnect_delay = 7; // kind of arbitrary max buffer size - const size_t buffer_max_size = 16384; + #define BUFFER_MAX_SIZE 16384 bool ms_partial_packet = false; QString ms_temp_packet = ""; |
