Write a connection-oriented client and server program in C language, where client program interact with the Server as given below:
i) The client begins by sending a request, the server sends back a confirmation and its clock time to the client.
ii) The client sends a number and server replies as the square of that number to the client.