Results of 1 - 2 of about 2 for qq (0.001 sec.)
- Swoole\Event::add — Add a socket to the underlying reactor event listener | PHP... 11228
- Swoole\Event::add (PECL swoole >= 1.9.0) Swoole\Event::add — Add a socket to the underlying reactor event listener 説明 public static function Swoole\Event::add ( mixed $sock , callable $read_callback , callable $write_callback = ? , int $f
... rue を、失敗した場合に false を返します。 例 例1 Swoole\Event::add() example <?php $fp = stream_socket_client ( "tcp://www.qq.com:80" , $errno , $errstr , 30 ); fwrite ( $fp , "GET / HTTP/1.1\r\nHost: www.qq.com\r\n\r\n" ); Swoole\Event :: add ( $f ...
-
https://man.mtool.work/php/8.3/swoole-event.add.html
- Swoole\Event::isset — Check if a socket is being monitored in the event loop | ... 7485
- Swoole\Event::isset (No version information available, might only be in Git) Swoole\Event::isset — Check if a socket is being monitored in the event loop 説明 public static function Swoole\Event::isset ( mixed $fd , int $events = SWOOLE_EVE
... を、失敗した場合に false を返します。 例 例1 Checking event monitoring status <?php $fp = stream_socket_client ( "tcp://www.qq.com:80" ); Swoole\Event :: add ( $fp , function ( $fp ) { echo fread ( $fp , 8192 ); }, null , SWOOLE_EVENT_READ ); var_du ...
-
https://man.mtool.work/php/8.3/swoole-event.isset.html
PREV
1
NEXT