What is TCP/IP:

  • Tcp defines how to establish and maintain a network conversation and TCP works with IP.
  • IP defines how to send data to each other.
  • TCP/IP is a basic communication language in internet.
  • Tcp/Ip uses client/server model for communication.
  • TCP/Ip has two layer program which include,
    • Higher layer
    • Lower layer

Higher layer:

  • TCP assembles messages into smaller packets

Lower Layer:

  • Internet Protocol handles address part of every packet

Protocols related to TCP/IP:

  • User Datagram Protocol (UDP)
  • Internet Control Message Protocol (ICMP)
  • Interior Gateway Protocol (IGP)
  • Exterior Gateway Protocol (EGP)
  • Border Gateway Protocol (BGP)

TCP/IP protocols for Web:

  • HTTP – Hyper Text Transfer Protocol
  • HTTPS – Secure HTTP
  • FTP – File Transfer Protocol

Benefits of IP:

  • Reliable and Unreliable Modes of Delivery
  • IP Makes It Routable
  • The IP Address Identifies Everything

TCP/IP Address Format:

  • Currently TCP/IP uses 4-byte (32-bit) addresses
  • Internet-Protocol numbers to address hosts
  • IPv4-addresses divided into more significant network- and less significant hostbits
  • The next generation Ip address is IPV6.

Reason for IPv6:

  • Bigger address space
  • Support for mobile devices
  • Built-in security

Software components of TCP/IP:

  • Normally it considers all 4 layers system which includes:
    • Application layer
    • Transport layer
    • Network layer
    • Data link layer