慕神8447489
操作方法如下:$client = new swoole_client(SWOOLE_SOCK_TCP, SWOOLE_SOCK_SYNC); //同步阻塞$client->connect('127.0.0.1', 9501) or die("connect failed\n");$client->send(str_repeat("A", 600));$data = $client->recv(700, 0) or die("recv failed\n);;echo "recv: ",$data,"\n";