From 186915db036f06a604883b644e40eaf377aedadf Mon Sep 17 00:00:00 2001 From: sotech117 Date: Mon, 18 Sep 2023 18:52:24 -0400 Subject: got it to work, not sure on protocol. --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client.c') diff --git a/client.c b/client.c index 6e6c95a..5edff63 100644 --- a/client.c +++ b/client.c @@ -156,7 +156,7 @@ void *reply_thread_routine(void* args) { printf("client: replyType: %d, stringSize: %d\n", buf[0], buf[1]); // print the while buffer by char for (int i = 0; i < recvbytes; i++) { - printf("%d", buf[i]); + printf("%c ", buf[i]); } struct Reply reply; -- cgit v1.2.3-70-g09d2