This Chat Server comprises of two applications, Server and Client, where the server program will send data to the client upon request, and the client program will print it out to its terminal and vice versa.
- Language Used: Core Java
- Concept Used: Swing and Networking (Socket Programming)
- IDE Used: IntelliJ IDEA
The TCP socket communication between a client and the server consists of several phases.
💻 Client-Server Architecture is the most prominent application structure on the Internet. In this architecture, clients ( eg: personal computers, IoT devices, etc. ) first request resources from a server. Then the server sends back appropriate responses for the clients’ requests. For this to happen, there should be some mechanism implemented in both the clients and the servers which supports this network transaction. That mechanism is called socket communication.
Websites: