Posts

Showing posts with the label one way communication

Simplified : Client_Server - Socket Programming in Java

Image
Client_Server - Socket Programming in Java Client -server communication At a basic level, network-based systems consist of a server , client , and a media for communication. A computer running a program that makes a request for services is called client  machine. A computer running a program that offers requested services from one or more clients is called  server machine. What are Sockets? In Client-Server architecture , you have two processes (running client-Server programs) that want to communicate with each other. For that, they have to establish a communication link between themselves. There is a network available,they just need to connect to this network , for this they use sockets. A socket is one endpoint of a two-way communication link between two programs running on the network. An endpoint is a combination of an IP address and a port number . Every TCP connection can be uniquely identified by its two endpoints. That...