aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-09-18 23:58:47 -0400
committersotech117 <michael_foiani@brown.edu>2023-09-18 23:58:47 -0400
commit7db333857219362ba14dec132825debc0d940a6c (patch)
tree084c7f16f0087b03de593396f5994ca8042b0acd /client.c
parent779ce6a6885346257b4d18f1efe205984cfff079 (diff)
cleanup some bugs. you can now listen to the music! good stopping point
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index 29aad13..ecb0be9 100644
--- a/client.c
+++ b/client.c
@@ -106,6 +106,8 @@ int main(int argc, char *argv[])
perror("send");
exit(1);
}
+ // print the amount of bytes sent
+ printf("client: sent %d bytes on a hello call \n", numbytessent);
pthread_t reply_thread;
pthread_create(&reply_thread, NULL, reply_thread_routine, (void*)sockfd);