- In order to establish a connection between two end machines, during complete communication i.e., the process-to-process delivery of messages, we need an identifier/logical structure called socket.
- It contains the combination of IP address of the machine along with the port number of
the process running on it.
- For example, Let an IP address of the machine is 184.108.40.206 and a process running on it is assigned a port number of 4435, then the socket contains (220.127.116.11, 4435). Thus, a socket uniquely identifies the process from the set of processes running on a machine.
- In the client server model, a pair of socket is required i.e., one for the client (client IP address, client port number) and another for the server (server IP address, server port number).
304 total views, 1 views today