Command line argument and to deliver the length


Change server.c to accept a file name as a command line argument and to deliver the length and contents of the file to each client. Assume that the file contains no more than 100 bytes of data (ignore additional data or issue an error message). Send the length of the file as a 32-bit integer1, followed by the data bytes. Change the client to read first the length and then the amount of data specified by the length from its TCP socket.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Command line argument and to deliver the length
Reference No:- TGS094730

Expected delivery within 24 Hours