Skip to main content

OSI Model



The OSI Model (Open System Interconnection) is a framework to define the protocol implementation in computer networking.

OSI Layers:
OSI model constitutes of 7 layers defined below.

Physical Layer :
The form of data at this layer is a bit stream which has to be encoded into signal for further transmission it also decides what encoding type would be applicable on transmission.Transmission rate is also decide in this layer.This is the Hardware layer of the OSI .Devices like repeater, hub, cables, ethernet involved in this layer.
Data Link Layer :
This layer is responsible for encoding and decoding of the electrical signals into bits.It manages data errors from the physical layer and converts electrical signals into frames.
Network Layer :
 This layer is responsible to deliver packets from source to destination across multiple networks. It comes into the picture If two machines are connected on the different network. It acts as a network controller  to routes the signals.It is also responsible to convert the outgoing messages into packets and to convert incoming packets into messages.Routers and gateways operate in this layer. 
Transport Layer :
This layer is responsible to deliver the entire message to destination. Transport layer makes sure that the entire  message reach destination in order. It also decides data transmission mode ( parallel path or single path).Transport layer breaks the packets into small units.
Session Layer :
This layer is responsible for managing connections and sessions between applications.
Presentation Layer:
This layer is responsible for the syntax and semantics of the message exchanged. This layers plays a role of translator in case of both the communications system's syntax are different so that they can understand each other's language.
Application Layer:
This layer is responsible for application services for file transfers, e-mail, and other network software services.
Protocols like FTP, HTTP work on this layer.

Find it here also C-Sharp-Corner














Comments

Popular posts from this blog

Abstract Factory Design Pattern

Abstract Factory : return families of related or dependent objects without specifying their concrete classes. AbstractFactory- IVehicle ConcreteFactory - Maruti, Honda AbstractProduct- IDiesel, IPetrol Product- DezirePetrol, ZenDiesel, AmazeDiesel, CityPetrol Client- This is a class which uses AbstractFactory and AbstractProduct interfaces to create a family of related objects Implementation is pretty much straight forward: Since now you have good understanding of Factory, there is nothing much to explain. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AbstractFactory {     class Program     {         static void Main(string[] args)         {             IVehicle marutiVehicle = new Maruti();             CarClient marutiClient = new CarClient(marutiVehicle); ...

Database Factory Design Pattern C#

Many developers has confusion on how to write database code in application. I will discuss several approaches here and try to provide explanation on each approach. Approach 1 : Easiest approach which is very straight forward which will work absolutely fine. The issues we will get to manage the project in terms of software principles. Like if you going to change Database provider, you would need to change using statements and other issue like mixing Database code with business logic etc. I will not go in detail here, I am assuming you already have an understanding of design principles. I am just exploring different approaches to achieve the database connectivity. using System.Collections.Generic; using System.Data.SqlClient; namespace DatabaseFactory {     class Program     {         static void Main(string[] args)         {             var employees = SomeDabOperation();   ...

Dependency Injection and Inversion Of Control C# - Par 1 (Concept )

Dependency Injection is one of the SOLI" D " principle which helps to decouple the code by making sure that we should depend on abstractions not in implementation of concrete classes. The concept is Inversion of control. Inversion Of Control It was considered as a programming style used to invert the flow of control. In Procedural language a code that consumes dependent code is in control of the process i.e.  It knows what exactly what method to use and sometimes most like what the implementation is. To achieve some goal one class need to consume some other class now question is the consumer class really needs to know about dependency on dependent class ? It is enough for a consumer class to know the properties, behavior etc. of the dependent class rather than knowing which is the dependent class having those properties, behavior etc.. I mean , we can abstract the behavior which is required to use by a consumer in the dependent class and allowing a consumer...