socket_select

PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8
socket_select - Runs the select() system call on the given arrays of sockets with a specified timeout
Manual
Code Examples

Example #1 socket_select example

PHP Version: