详解PHP中websocket的使用方法
2017-02-06
61
关于PHP中websocket使用的详细注解,供大家参考。服务端:<?php//send用户加入//send1发送信息//send2退出登录error_reporting(E_ALL ^ E_NOTICE);ob_implicit_flush();//file_put_contents("lz.text","123", FILE_APPEND);$sk=new Sock("127.0.0.1",8000);$sk->run();clas...