What information is used by a process running on one host to identify a process running on another remote host? For communication between a pair of processes, which process is the client, and which is the server?
Guide On Rating System
Vote
To identify a process running on another remote host, the following information is used by a process running on one host:
1. IP Address: The IP address of the remote host is used to identify the location of the process.
2. Port number: The port number is used to identify the specific process running on the remote host. It allows multiple processes to run simultaneously on a single host.
In terms of communication between a pair of processes, the distinction between the client and the server is based on the roles they play:
1. Client: The client process initiates a connection to the server process and requests a specific service or information. The client is responsible for sending requests and receiving responses from the server.
2. Server: The server process listens for incoming requests from clients and provides the requested service or information. The server is responsible for receiving requests, processing them, and sending back the responses to the client.
The client and server processes may run on different hosts or the same host, depending on the network architecture.