It provides services of Network Application.
- File Transfer : It is done with the help of FTP(File Transfer Protocol).
- Web surfing : It is done with the help of HTTP/HTTPS.
- E-mails : It is done by SMTP.
- Virtual Terminal : Telnet is used for it.
This layer receives data from application layer.
- Translation : Data is translated to machine understandable language.
- Data compression : Data is compressed to increase the tranfer speed.
- Encryption / Decryption : Encryption of data increases security. It is done by SSL protocol.
It helps in setting up and managing connections, sendin and receiving data followed by termination of connection. It uses APIs for its work.
- Authentication : Before establishment of session, authentication of user occurs.
- Authorization : Server checks if you have permission to access a file or not.
- Session Management : Session layer helps in making session with web server to download data packets and keeps track where the data packet goes.
It control the reliability of Communication through segmentation, Flow control and Error control. It passes data to the network layer.
- Segmentation : Data divides into small data units called segments.
- Flow Control : Manage the speed of data transfer.
- Error Control : If some data segments is not missing, the layer uses Automatic Repeat Request scheme to find missing data.
- Connection-oriented Transmission : It uses TCP (Transmission Control Protocol). It provides feedback if data is transmitted or not for error control.
- Connectionless Transmissin : It uses UDP (User Datagram Protocol). It doesn't provide feedback. Data is completely received or not doesn't matter here.
It works for the transmission of data received from Transport Layer from one device to another which is located in different networks.
- Logical Addressing : IP addressing done in this layer is called logical addressing.
- Routing : It is a method to move data packets to source to destination.
- Path determination : Choosing best (shortest) path for data delivery is called as path determination. It uses protocols like, OSF, BGP, IS-IS.
It receives data packets from network layer. It uses physical addressing where MAC addresses of sender and receiver assigns to data packet to make a frame.
- Framing : This layer uses framing to transfer data.
- Media Access control and Error Detection : controls how data is placed and received from the media.
It converts binary sequence of data into signals and transmits over media. Signal generated in this layer depends on type of media used to connect two devices. At the side of the receiver, This layer receives signal and converts it into binary sequence and sends it to data link layer.