GoldSource server responds to the A2S_INFO request with two packets
Hi all.
When requesting A2S_INFO to the GoldSource servers, for some reason two different packets are returned.
Headers: the first is 0x6D, the second is 0x49. That is, the first time answers as 'GoldSource' and immediately sends a second 'Source' packet.
The logic of my application is that I create one socket and use it to get data on A2S_PLAYER, A2S_RULES, A2S_INFO. If I put A2S_INFO at the very beginning - the following requests crash when parsing.
Is there any way to guarantee to get only 1 packet?
Sidst redigeret af kotenok po imeni gav; 14. juni 2022 kl. 13:59