hii i need the complete answers

Lab10a: Countdown Protocol

Consider the following protocol, which we will call the countdown protocol. Each client contacts the server with an initial message that specifies an integer value n. The client then loops to receive n messages from the server, with messages bearing the values n, n-1, n-2, …, 1 successively.

Your assignment is to write connection-oriented server and client programs for this protocol.