Double the maximum address count to accomodate IPv6

With the addition of IPv6, some computers with lots of addresses are
reaching the old address limit of 20 addresses. We'll have to see how
this works out in practise. Maybe we'll have to do the connection in
stages to prevent sending out too many packets at once (like only
connecting to the first five addresses initially, then after a timeout
the next five, and so on).
alut-include-path
Lukas Werling 2017-02-27 22:50:06 +01:00
parent 1ff3b17dad
commit d7e71d8362
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
class C4Network2; class C4Network2IOConnection;
// maximum address count that is saved for one client
const int32_t C4ClientMaxAddr = 20;
const int32_t C4ClientMaxAddr = 40;
// retry count and interval for connecting a client
const int32_t C4NetClientConnectAttempts = 3,