Week 3 - Introduction To Transport & Application Layers
Week 3 - Introduction To Transport & Application Layers
Transport Layer :
Transport layer handles multiplexing and demultiplexing through ports.
Port : A 16 bit number that’s used to direct traffic to specific services running on a
networked computer. Ports are normally denoted with a colon after the IP addresses.
Eg : 10.1.1.100:80 - Here 80 is the port where remaining things are IP. Both IP and Port are
collectively called as Socket Address/ socket number.
Source Port : A high- numbered port chosen from a special section of ports known
as ephemeral ports.
Destination port : The port of the service the traffic is intended for.
Note : Traditional port for HTTP is port 80 where port 21 for FTP
HANDSHAKE :
A way for two devices to ensure that they are speaking the same protocol and will be
able to understand each other.
This is known to be three way handshaking. Once the three way handshaking is
done, TCP connection is established. Now Computer A is free to send whatever data it
wants to Computer B & vice versa.
Application Layer
Application layer is generally of two things: Web browsers & Web servers. M
ost
Web browsers are called Client and Web servers are called Servers.
● Examples for Web browsers are Chrome, Firefox, IE, Safari etc.,.
● ExamplesExamples for Web Servers are Microsoft IIS, Apacke , nginx etc.,