Java networking assignment implementing TCP and UDP client-server applications.
HW_2/
└── src/
├── TCP/
│ ├── CalculatorTCPClient.java
│ └── CalculatorTCPServer.java
└── UDP/
├── QuoteUDPClient.java
└── QuoteUDPServer.java
A simple calculator application using TCP protocol for client-server communication.
- CalculatorTCPServer.java - Server that accepts mathematical operations
- CalculatorTCPClient.java - Client that sends calculations to the server
A quote delivery system using UDP protocol.
- QuoteUDPServer.java - Server that sends random motivational quotes
- QuoteUDPClient.java - Client that requests quotes from the server
- Run the server:
java TCP.CalculatorTCPServer - Run the client:
java TCP.CalculatorTCPClient
- Run the server:
java UDP.QuoteUDPServer - Run the client:
java UDP.QuoteUDPClient
- Java 8 or higher
- JRE System Library [JavaSE-21]