networking
  • networking
  • 1.NetworksAndTheirBasicComponents
    • Overview of Networks
    • Network Components
    • Network Resources
    • Network Geography
    • Wired Network Topology
    • Wireless Network Topology
    • Internet of Things(IoT)
  • 2.NetworkModels
    • Frames
    • MAC(Media Access Control) Address
    • Broadcast vs Unicast
    • Hubs vs. Switches
    • Introduction to IP Addressing
    • Packets and Ports
    • What is
    • OSI Model vs. TCP/IP Model
    • OSI and TCP/IP Model Walkthroughs
  • blogs
    • Layer 7 Proxy
    • Proxy vs Reverse Proxy
    • Service Proxy
Powered by GitBook
On this page
  1. 2.NetworkModels

Packets and Ports

PreviousIntroduction to IP AddressingNextWhat is

Last updated 1 year ago

  • Port numbers help direct packet traffic between the source and destination.

  • Port 80 is used for world wide web to communicate over HTTP protocol.

  • The first 1024 port numbers are known as Well Known Ports and are reserved and can never use as a return port number.

  • You can have port number until 65536.

  • Port helps to move the data to the right target application,

  • But as we know we don't get complete data in one packet, and that's where TCP(Transmission Control Protocol) comes into plahy.

  • TCP is a connection oriented protocol that creates a connection between 2 parties who want to exchange data.

  • TCP makes sure that you get your data whole, complete and in order.

  • Packets have sequence numbers so the network software can reassemble the file correctly.

  • 2 Big blocks of TCP Sequencing Number which helps in ordering data in correct order and Acknowledgement is let the other party know that you have received that data don't resend again.

  • UDP(User Datagram Protocol) - It is not connection oriented or connectionless, it just sends the data and doesn't control if data is received or not. Its application responsibility to try to get the failed data.