A simple chat application that enables the user to chat with his peer. It establishes good two-way communication between peers.
This is a simple chat application that enables the user to chat with his peers. It is build using a socket in java networking. Here the socket plays a crucial role since it acts as a bridge between different users and passes the message between each other. Every time you write some text it is stored inside the socket and sent to the server or peer on the other side.
The message from the server is carried back to the user as a response. When the client closes the connection, the server will get a response that the client is offline.