Skip to content

This is a basic Server-Client socket designed for beginners to understand how sockets work in Java. Please note, it does not use multi-threading for multiple users.

Notifications You must be signed in to change notification settings

WindyFeg/Basic-chat-clientServer-java-sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This is a basic Server-Client socket designed for beginners to understand how sockets work in Java. Please note, it does not use multi-threading for multiple users.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages