my question is very short. I have an array of sockets and from each socket I have to accept a packet. But if a socket is sending pockets too slowly, then the entire execution process is delayed. How can I skip it, if at the time of reading its pocket, it has not yet been sent. I see it somehow like this:
if(Clients[i].socket.isReady()){
Clients[i].socket.recive(data)
}
else{
...
}