From 528e4fffe5add389a7a8bca0e3e12741651e360a Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Thu, 26 Dec 2019 21:24:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90tcp=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8/=E5=AE=A2=E6=88=B7=E7=AB=AF=20c=20api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/tests/websocket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/tests/websocket.c b/api/tests/websocket.c index 77411d6a..0398bf97 100644 --- a/api/tests/websocket.c +++ b/api/tests/websocket.c @@ -36,7 +36,7 @@ #endif #define LOG_LEV 4 -#define TCP_TYPE mk_type_wss +#define TCP_TYPE mk_type_ws static int flag = 1; static void s_on_exit(int sig){ @@ -190,7 +190,7 @@ void test_client(){ mk_tcp_client_connect(client, "121.40.165.18", 8800, 3); //你可以连接127.0.0.1 80测试 - //mk_tcp_client_connect(client, "127.0.0.1", 80, 3); +// mk_tcp_client_connect(client, "127.0.0.1", 80, 3); } int main(int argc, char *argv[]) {