This project implements a TCP client-server application where the client sends a string to the server, and the server:
- Reverses the string.
- Inverts the capitalization of each character (lowercase becomes uppercase and vice versa).
- Dynamic port number for both client and server.
- Handles strings up to 80 characters.
- Includes string validation for length.
- Proper exception handling for both client and server.
- User-friendly error messages in case of invalid inputs.
git clone https://github.com/Prem203/Java-Server-Client-Activity.git
cd tcp-client-serverjavac Server.java
javac Client.javajava Server <port>##Example:
java Server 32000java Client <server_ip> <port>##Example:
java Client 127.0.0.1 32000Enter text: This is my text
Response from server: TXET YM SI SIHt