A socket Full Duplex File Descriptor that acts an endpoint for network communication. Identified by IP Address + Port

  • 2 processes want to communicate over a network 2 sockets are made

Socket Creation Process

  1. Client initiates request for connection. It is assigned a random port greater than 1024
  2. Server waits for client requests from specific port
  3. Request is received
  4. Server accepts connection from client

UNIX Socket Communication

UNIX Functions

Concepts