[url]http://www.cnblogs.com/hustskyking/p/websocket-with-php.html[/url]写了websocket个聊天室,然后终于弄懂了php的socket [url]http://www.jnecw.com/p/1523[/url]