CS 5375 Section 001 Assignment 6 Students work in teams. The assignment is due on Sunday April 19, 2009 (before midnight). Submit the assignment as an e-mail attachment to our TA and cc Dr. Cooper (kcooper@utdallas.edu) Note. Do not zip the submission file; just attach your tar file to the e-mail (e-mail with attachments ending in .zip are not delivered) Please submit your text answers, c source code files, test input files, and README file in one tar file for this submission. Notes. Only submit one e-mail per team. Late penalty is 10% per day or part of a day. Incorrect submission format (anything other than one e-mail with one tar file attachment) is 10% penalty. C code will be evaluated on the sun solaris 5.10 o/s. All team members receive the same grade. 1. Draw an activity diagrams or flow charts for the client and the server in a client-server application using a C socket for IPC. Briefly explain the purpose for each activity or processing step and describe the library call used. 2. Look up the following calls (used in the socket sample code) as part of your code walk through. Provide a brief description of what they do, the parameters, and an example of how to use each to illustrate the syntax. htons memcpy sprintf atoi 3. C sockets for one of your sorting algorithms. Restructure one of your sorting algorithm programs into a distributed aplication using sockets for IPC (interprocess commnunication). The client should obtain the name of the input file and send the data to the server using the socket. The server should sort the data and sent it back to the client using the socket. The client should write the sorted data in a file. Review and, if needed, correct your solutions for Assignment 3, 4, and 5. Retest with all test files; include the test files in your submission. Document the programs with comments.