Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Latest commit

 

History

History
16 lines (14 loc) · 604 Bytes

File metadata and controls

16 lines (14 loc) · 604 Bytes

Chat-application-using-java-sockets

This is a really basic Sever-Client socket for beginer to preview how socket work in java This is not use muti thread for mutiple-user!

How to use

compile file cClient.java and cServer.java .
javac cClient.java.
javac cServer.java

Using java cServer to open server UI and java cClient to open client UI

Sever

*Note: Using single thread to handle client so only one client can connect at the time .
imput port number and SET

Client

input server IP (Both server and client should be in the same VLAN) .
input server port then Connect