Skip to content

vsonkar/Java-MultiClient-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Multi-threaded Client-Server Communication System

A Java-based socket programming project that demonstrates a simple yet scalable client-server communication system using multi-threading.

๐Ÿ“Œ Features

  • Handles multiple client connections concurrently
  • Uses TCP sockets (ServerSocket, Socket)
  • Graceful handling of SocketTimeoutException
  • Thread-safe message exchange using BufferedReader and PrintWriter
  • Demonstrates core networking and concurrent programming in Java

๐Ÿ› ๏ธ Technologies Used

  • Java SE
  • TCP/IP Sockets
  • Multi-threading (Thread, Runnable)
  • Java I/O Streams

๐Ÿง  How It Works

  • 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.

About

A Java-based multi-threaded client-server communication system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages