Peer-to-peer chat system for client and server using Transmission Control Protocol(TCP) in Java
The system provides two programs - one for a server and one for a client.
The server initiates a connection on a port of the localhost.
Once a client connects using the port, the connection is complete.
The server can chat with the client until the client asks to end the connection.
The client connects to the server on the port of the localhost.
Once the connection is made, the client initiates the conversation.
The connection can be ended only when the client enters 'end'.
The peer-to-peer chat communication is executed using the Transmission Control Protocol(TCP).
It can be used as a chat program between different users.
Submitted by Priyadarshini Gopal (Priyadarshini)
Download packets of source code on Coders Packet