PHP 实现聊天室 PHP+ajax 轮询 操作socket 实现简易聊天室 http://www.cnblogs.com/glory-jzx/p/4134075.html 应该是 主要在于解决如何主动发送请求到 客户端的问题。