Write a Time Client and Server using sockets programming in the C language.

You must test the client and server on different machines in the Unix lab (BU004).

The server must return at least the current time on the machine the server is running on.

It might optionally also display the date and day of the year.

The output will be displayed on the client machine.

For Example if your client is called time_client and your server time_server,

then:

Camelot> time_server (your server is on machine Camelot)

Merlin> time_client <server ip address or server name> ( server on Merlin)

The date and time on machine Camelot are:

21:00 Fri 10 Sep 2000

Please use any arbitrary port #(>2000) for your client and server