1.Application layer
This layer provides an interface to the user to get on the network or to use the network
E.g. Browsers, WhatsApp etc.
This is the layer which talks to the end hosts/devices.
E.g. Mail, Telnet, FTP etc.
Remeber :
Networking is all about using the applications over the network!
--------------------------------------------------------------------------------------------------
2.Presentation Layer
This layer makes sure that 2 end devices on the network cna talk to each other and understand each other regardless of the operating systems or encryption types they are using.
Other functions:
-Encryption
-Decryption
-compression
-Decompression
-Synchronization
--------------------------------------------------------------------------------------------------------------------------------
3.Session layer
- It handles the sessions between and hosts & web-sedrvers
- Means to say it starts, maintain and terminates sessions between clients & servers.
- Everything on the web is handled by using sessions.
E.g.
As long as you are using Gmail or Facebook, you are maintaining the dedicated seesions with their servers. Once you logout, you have terminated that session. Now, if you have to login again, you have to creat a new session all over.
Note:
Type "NETSTAT" IN CMD
---------------------------------------------------------------------------------------------------------------------------------
OSI Reference Model
---------------------------------------------------------------------------------------------------------------------------------
*Header - Each layer add its own info with the main data in the form of header,
It is known as header because it is processed before the main data.
# not in picture Red Index there called {FLOW CONTROL}
* PDU(PROTOCOL DATA UNIT) = DU + HEADER
* Encapsulation