A Java-based socket programming project that demonstrates a simple yet scalable client-server communication system using multi-threading.
- Handles multiple client connections concurrently
- Uses TCP sockets (
ServerSocket
,Socket
) - Graceful handling of
SocketTimeoutException
- Thread-safe message exchange using
BufferedReader
andPrintWriter
- Demonstrates core networking and concurrent programming in Java
- Java SE
- TCP/IP Sockets
- Multi-threading (
Thread
,Runnable
) - Java I/O Streams
- Server listens on a port and spawns a new thread for each connected client.
- Client connects to the server, sends a greeting message, and receives a response.
- Server manages timeouts to avoid indefinite blocking.