$s
->can_read([timeout
])
Returns array of handles that are ready for reading. timeout is the maximum amount of time to wait before returning an empty list. If timeout is not given, and any handles are registered, then the call blocks.
Copyright © 2001 O'Reilly & Associates. All rights reserved.