Question: Question 4 ( 35 marks) a. The following C program named client. c is to run a client-side application that can connect and receive data

Question 4 ( 35 marks) a. The following C program named client. c is to run a client-side application that can connect and receive data from a specific server application. Please read the program code and try to explain the program by writing down appropriate comments to describe each different part of the program code (highlighted in yellow color above). (12 marks) b. The above program does not use the bind() system call fanction, but for server programs, the bind() is necessary. Please explain what the bind() function does and why server programs need it but client programs do not, and please also indicate a situation in which the client program really needs to use the bind () function. ( 9 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
