← Graph

IO.select

concept 1 connections

Ruby method that calls the POSIX select syscall to wait for sockets to become ready for reading or writing. Not ideal for thousands of sockets because every call must copy all socket descriptors into kernel space.

category
practice
about
IO.select concept
Base building block for the proxy event loop

Provenance

Read by
3 extractions