Problems
Use the following problems to test your advanced programming prowess in Socket API and SWS. I strongly encourage you to give each problem a try before you turn to the solutions and download the example programs:
- Introducing socket basics: Provide a brief but meaningful introduction to socket basics and related context (TCP, UDP, IP, etc.).
- Introducing TCP server/client applications: Introduce the knowledge needed for writing a blocking/non-blocking TCP server/client application.
- Introducing the Java Socket API: Highlight the main Socket API (NIO.2) needed for writing socket-based applications in Java.
- Writing a blocking TCP server/client application: Provide a detailed example (theory and code) of a blocking TCP server/client application.
- Writing a non-blocking TCP server/client application: Provide a detailed example (theory and code) of a non-blocking TCP server/client application.
- Writing UDP server/client applications: Write a...