• 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 and a process running on it is assigned a port number of 4435, then the socket contains (, 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


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.