所在分类: php小记
http长连接技术(commet)
这里有两种模型:一个是基于iframe,把长连接放在页面的一个隐藏iframe中。另外一个是使用ajax的长轮询(long-polling)方式,在一个老外的博客里找到相关的描述。
How to implement COMET with PHP
Comet is a programming technique that enables web servers to send data to the client without having any need for the client to request it. This techniq .......

iam3y.com