R
Randy General
I'm currently creating an application that can query a game-server for
its status, total players, hostname, etc. I send out a challenge packet,
and in return I receive between 1 and 3 UDP packets.
Is there an effective way to deal with receiving a varying amount of UDP
packets? If I do a recvfrom for two packets, the process will time out
if only a single packet arrives.
Any assistance is appreciated!
its status, total players, hostname, etc. I send out a challenge packet,
and in return I receive between 1 and 3 UDP packets.
Is there an effective way to deal with receiving a varying amount of UDP
packets? If I do a recvfrom for two packets, the process will time out
if only a single packet arrives.
Any assistance is appreciated!