this is code for 1,3,4 client,save them as client1.c, client3.c and client4.c and then compile using gcc - client1.c -o client1 -lpthread