摘要: php 的 libevent库,到pecl找<?phpclass epoll{ private static $socket; private static $connections; private static $buffers; function epoll($port){ if($port<1024) die("Port must be a number which bigger than 1024/n"); self::$socket = stream_socket_server ('tcp://0.0.0.0:'.$port, $.. 阅读全文
posted @ 2010-08-30 15:19 MultiThread-PHP 阅读(674) 评论(1) 推荐(0) 编辑