waits until there is data ready to read on any of the socketi, then returns that socket.



Basic Examples  (2)

Connect to a site 5 times and measure how long it takes for the first connection to be ready:

Write a request out on all the sockets and measure how long it takes for at least one of them to get back a request:

Close the sockets:

Open a server socket and connect some clients to it:

Initially, none of the clients are ready:

Write data to a random client from the server in the local session after a delay of 3 seconds:

Read the data sent to the client once it has been submitted:

Close the sockets:

Introduced in 2017