X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=netconn.h;h=631e6f2978337c4c2a4d58d1e67d827398acee5d;hb=d39f8c7e0427be77cc7dfa504fee8cbccf1684f6;hp=62dd2a0f1540b7fee664bdc65aa36fcb3ff79635;hpb=a1ddce1138a606d934008ceb15d9f4548d2954c6;p=xonotic%2Fdarkplaces.git diff --git a/netconn.h b/netconn.h index 62dd2a0f..631e6f29 100755 --- a/netconn.h +++ b/netconn.h @@ -210,15 +210,17 @@ typedef enum typedef enum { SQS_NONE = 0, - SQS_PENDING, SQS_QUERYING, - SQS_QUERIED + SQS_QUERIED, + SQS_TIMEDOUT } serverlist_query_state; typedef struct { // used to determine whether this entry should be included into the final view serverlist_query_state query; + // used to count the number of times the host has tried to query this server already + unsigned querycounter; // used to calculate ping when update comes in double querytime;