摘要: 一、开启socketphpinfo();查看是否开启了socket扩展,否则在php.ini中开启。二、服务器端代码的写法server send:welcome"; socket_write($msgsock, $msg, strlen($msg)); echo 'read client messa... 阅读全文
posted @ 2015-06-29 13:15 zbs666 阅读(399) 评论(0) 推荐(0) 编辑