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!
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
*Note: Using single thread to handle client so only one client can connect at the time .
imput port number and SET
input server IP (Both server and client should be in the same VLAN) .
input server port then Connect