From: Randy General Date: 2009-07-09T01:10:14+09:00 Subject: How to accept a varying amount of UDP packets using recvfrom 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! -- Posted via http://www.ruby-forum.com/.