Created during a computer communication course during the second year at Ariel University
in the Department of Computer Science, 2018
This project implements a simple Server / Client chat application using Java.
The program includes two packages:
The Client package allows to the client to connect into the server, and send message to
the other people that also connected to the server, the client can send message, read messages,
send private messages, get info about who is online, get online client list and more.
The Server package allows all the client requests in parallel by using THREADS.
Moreover, The server has a window which can get information about chat clients.
METHODS:
The Server receives a port from the Server Owner that greater than 1023 and then open Server with the inserted port.
Also in the server window there details about the server, for example who logged in or logged out of the server, and also who sent the message and administor options.
METHODS:
METHODS:
The Client insert the Server connection details, such as IP and PORT, if the Server is running on the
same computer as the client, the client can enter “localhost” as host.
after pressing “log in” , the client need to choose name, valid names are described below.
Then the client window opens with details about clients that alredy using the chat, also more option such as
cleaning the messages area and more.
The client can send a message to othe client, by CS model, the message moves to the server, and the
server knows where to send that message
Each client can send a private message to another user.
In addition,each client get message if other client has joined or left the chat.
if the Server is close, or the PORT is not valid, the user will get an error message. </br>
METHODS: