I have developed a udp server/client application in which server has one socket at which it continuously receives data from 40 clients. Now I want to know that what happens if all of the 40 Clients send data at a time? According to my understanding, data must be queued in receive buffer and next time when I call recvfrom() the data queued in the buffer is received i.e. I shall have to call recvfrom() 40 times to receive data of all the 40 Clients even if all the Clients sent data simultaneously. Also, I want to know that all of the data of 40 Clients will be queued in receive buffer or some of the data will be discarded too? Also, what is the maximum buffer size in which data can be queued in receive buffer and after what limit is data dropped?