作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

websocket协议测试

正在显示 1 个修改的文件 包含 1 行增加1 行删除
@@ -4,7 +4,7 @@ use think\Db; @@ -4,7 +4,7 @@ use think\Db;
4 // 数据库配置信息设置(全局有效) 4 // 数据库配置信息设置(全局有效)
5 5
6 require_once __DIR__ . '/simplewind/vendor/workerman/workerman/Autoloader.php'; 6 require_once __DIR__ . '/simplewind/vendor/workerman/workerman/Autoloader.php';
7 -//require_once __DIR__ . '/simplewind/vendor/autoload.php'; 7 +require_once __DIR__ . '/simplewind/vendor/autoload.php';
8 //$global_uid = 0; 8 //$global_uid = 0;
9 // 9 //
10 //// 当客户端连上来时分配uid,并保存连接,并通知所有客户端 10 //// 当客户端连上来时分配uid,并保存连接,并通知所有客户端