Introduction

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

Definition

Characteristics

Types

 304 total views,  1 views today


0 Comments

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.