swoole實現websocket推送

環境配置:      swoole 1.9.3、centos6.5(虛擬機)、PHP7.01 思路:      ①通過server中的collections取出fd      ②寫一個 admin.html(管理員推送頁面) 與 client.html(客戶端),html頁面的websocket自行可編寫           並在server.php中message事件用循環push數據(serv
相關文章
相關標籤/搜索