update : 2015.11.03
php.shukuma.com검색:
|
stream_select(PHP 4 >= 4.3.0, PHP 5) stream_select — Runs the equivalent of the select() system call on the given arrays of streams with a timeout specified by tv_sec and tv_usec 설명
int stream_select
( array
&$read
, array &$write
, array &$except
, int $tv_sec
[, int $tv_usec = 0
] )The stream_select() function accepts arrays of streams and waits for them to change status. Its operation is equivalent to that of the socket_select() function except in that it acts on streams. 인수
반환값
On success stream_select() returns the number of
stream resources contained in the modified arrays, which may be zero if
the timeout expires before anything interesting happens. On error 예제
Example #1 stream_select() Example
This example checks to see if data has arrived for reading on either
<?php 주의
참고
|