diff options
| author | stonedDiscord <3462709-stonedDiscord@users.noreply.gitlab.com> | 2019-07-20 16:20:05 +0000 |
|---|---|---|
| committer | stonedDiscord <3462709-stonedDiscord@users.noreply.gitlab.com> | 2019-07-20 16:20:05 +0000 |
| commit | 4a2a167f7d552141a2e3450d350b57d2f7b342a0 (patch) | |
| tree | e632403791b35055860e20e27e7f7488c8ba380d /include/networkmanager.h | |
| parent | 785168f8d36fc7c075f36cd88f13984c933b903c (diff) | |
| parent | 2a5d569511af7d9411cd73f2dfd329da38730dc0 (diff) | |
Merge branch 'master' into 'bass-optional'
# Conflicts:
# Attorney_Online.pro
# include/aoapplication.h
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 = ""; |
