一、轮询html
二、长轮询html5
三、flash的socketweb
四、websocket html5提出的用于全双工通讯的协议 api(js编写的)api
客户端(浏览器 必须支持html5)浏览器
服务器端(支持websocket)服务器