A server is a program which regulates the communication between sender and receiver. In online or digital communication the role of air is played by network channel (coaxial cable, fiber optics, etc.) and communication is controlled by a server. So, what is the medium of communication here? Indeed, it is the air which helps our voice to travel to the receiver and successful communication depends upon air (high wind and long-distance can cause trouble). Generally, in real-world communication is done directly using voice in an ideal situation (distance between communicating parties, identification of parties) where sender speak out and the intended receiver respond after listening. Duplex or two-way communication: Both parties can send and receive messages.ĭuplex communication is a common way of communication and can be one-to-one (simple chat) or many-to-many (chat room).Simplex or one-way communication: Only one party is able to send the message and other parties can only receive.In networking terms, sender and receiver are denoted as source and destination respectively.Ĭommunication can be of many types depending upon the method of communication and the number of parties involved. The role of sender and receiver is not fixed and keep exchanging during communication, so in simple words, at a point, someone who sends the message is a sender and who receive the message is called receiver. The sender is someone who initiates and send a message to other known as receiver receiver at other end receives the message. Chat Application provides communication between two parties i.e. Learning to write a Chat Application is good for understanding many network communication concepts and can be useful to build other network applications. The Chat Application is very common today offered either via a web application or mobile application.