swoole测试连接

测试TCP服务器链接

1.进入程序目录运行 tcp.php

 

2.使用 telnet连接tcp服务器  telnet 127.0.0.1 9501

也可运行demo的客户端文件链接测试 tcp_client.php

 

 3.服务端已显示连接

 

posted @ 2022-10-27 09:46  东方素  阅读(80)  评论(0编辑  收藏  举报