服务器失败");
while($buf = socket_read($socket, 2048)){
echo "从服务端接收到消息:$buf".PHP_EOL;
while($data = trim(fgets(STDIN))){
socket_write($socket, $data, strlen($data));
}
}
socket_close($socket);
Copyright © 2009-2022 www.wtcwzsj.com 青羊区广皓图文设计工作室(个体工商户) 版权所有 蜀ICP备19037934号