In Project Part 2, you will gain a better understanding of Transmission Control Protocol (TCP) / Internet Protocol (IP), experience using sockets as a communication mechanism, and explore how to use TCP and User Datagram Protocol (UDP) with sockets.
Lets think of an application that sends data from an end host computer system to another computer. A reasonably good way to send data over the Internet is to use a transport layer protocol, such as Transmission Control Protocol (TCP) or User Datagram Protocol (UDP), or a network layer protocol Internet Protocol (IP), not data link layer protocols. (Why?) Here are some questions:
1. Read the section called Project Part 2: Background Information. You will need this information to complete Part 2 of the project.
2. After you have read and understand the background information, implement the following two programs:
See file. Background Information.
The messages must be given to the client programs as arguments, not only one argument, from the user. The client programs need to send the messages separately, not at once as one message.
All your programs should print your name and student number on the terminal window.
You need to test your programs on two terminals, one terminal for server and another terminal for client. The necessary port number and IP address should be given from the user as arguments.