From 0c6d37d6eb4eae9a91c7433adc7e76ba54c67c0f Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Tue, 25 Jun 2019 01:48:18 +0800 Subject: [PATCH] add and add mqttd proc.c and main.c, set 3 threads running --- apue/2.Socket/socket_client.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/apue/2.Socket/socket_client.c b/apue/2.Socket/socket_client.c index 0d292c2..a695557 100644 --- a/apue/2.Socket/socket_client.c +++ b/apue/2.Socket/socket_client.c @@ -109,7 +109,8 @@ } } - //printf("Read %d bytes data from server: '%s'\n", rv, buf); + + sleep(5); } -- Gitblit v1.9.1