Suppose I have a server with multiple clients (UDP). Whenever it receives a packet from a client, the server will spend 1 second processing the packet and send out that a new packet to all clients immediately after processing.
Will the server be able to do this if 10 packets arrive within 0.1 seconds? In other words, is it able to send out a new packet to each client immediately after processing the first received packet? (I have the feeling that the socket would get "clogged" up by the 9 other unread packets)
The server loop would be like:
while (1) {
read_a_packet()
process_packet()
send_new_packet_to_all_clients()
}