Skip to main content

DATA LINK LAYER DESIGN ISSUSES...................

Data Link Layer has number of specific functions to carryout. These functions include:-

1. Providing a well defined service interface to the Network Layer.
2. Determining how the bits of the Physical Layer are grouped into frames.
3. Dealing with transmission errors.
4. Regulating the flow of frames so that slow receiver are not overcome by a fast sender.

Services provided to the Network Layer

The function of the Data Link Layer is to provide services to the Network Layer. The principle service is transferring data from the Network Layer on the source machine to the Network Layer on the destination machine. On the source machine there is an entity or a process, in the Network Layer that transfers some bits to the Data Link Layer for transmission to the destination machine. The job of the Data Link Layer is to transmit the bits to the destination machine so that they can be handled over, to the Network Layer.

The Data Link Layer can be designed to offer various services. The actual services offered can vary from system to system. Three reasonable possibility that commonly provided are:-

* Unacknowledged Connectionless Services
* Acknowledged Connectionless Services
* Unacknowledged Connection Oriented Services

Unacknowledged Connectionless Services:- It consist of having the source machine send independent frames to the destination machine, without having the destination machine acknowledge them. No connection is established before hand or released afterwards. If the frame is lost due to noise on the line, no attempt is made to recover it in the Data Link Layer. It is appropriate for Real Time Traffic (data) such as speech, in which late data are worse then bad data.

Acknowledged Connectionless Services:- when this service is offered there are still no connections used but each frame is individually acknowledged. In this way the sender knows whether or not a frame has arrived safely. If it is not arrived within the specified time interval, it can be sent again.
Unacknowledged Connection Oriented Services:- The most sophisticated service that the Data Link Layer can provide to the Network Layer is Connection Oriented Services. With this service, the source and destination machine establish a connection before any data are transferred. Each frame sent over a connection is numbered and the Data Link Layer guarantees that the each frame sent is indeed received. further more it guarantees that each frame is received exactly once and that all the frames are received in the right order.

Comments

Popular posts from this blog

JAVA Scrollbar, MenuItem and Menu, PopupMenu

ava AWT Scrollbar The  object  of Scrollbar class is used to add horizontal and vertical scrollbar. Scrollbar is a  GUI  component allows us to see invisible number of rows and columns. AWT Scrollbar class declaration public   class  Scrollbar  extends  Component  implements  Adjustable, Accessible   Java AWT Scrollbar Example import  java.awt.*;   class  ScrollbarExample{   ScrollbarExample(){               Frame f=  new  Frame( "Scrollbar Example" );               Scrollbar s= new  Scrollbar();               s.setBounds( 100 , 100 ,  50 , 100 );               f.add(s);               f.setSize( 400 , 400 );               f.setLayout( null );               f.setVisible( true );   }   public   static   void  main(String args[]){           new  ScrollbarExample();   }   }   Output: Java AWT Scrollbar Example with AdjustmentListener import  java.awt.*;   import  java.awt.event.*;   class  ScrollbarExample{        ScrollbarExample(){               Frame f=  new  Frame( "Scro

Difference between net platform and dot net framework...

Difference between net platform and dot net framework... .net platform supports programming languages that are .net compatible. It is the platform using which we can build and develop the applications. .net framework is the engine inside the .net platform which actually compiles and produces the executable code. .net framework contains CLR(Common Language Runtime) and FCL(Framework Class Library) using which it produces the platform independent codes. What is the .NET Framework? The Microsoft .NET Framework is a platform for building, deploying, and running Web Services and applications. It provides a highly productive, standards-based, multi-language environment for integrating existing investments with next-generation applications and services as well as the agility to solve the challenges of deployment and operation of Internet-scale applications. The .NET Framework consists of three main parts: the common language runtime, a hierarchical set of unified class librari

C++ this Pointer, static, struct and Enumeration

C++ this Pointer In C++ programming,  this  is a keyword that refers to the current instance of the class. There can be 3 main usage of this keyword in C++. It can be used  to pass current object as a parameter to another method. It can be used  to refer current class instance variable. It can be used  to declare indexers. C++ this Pointer Example Let's see the example of this keyword in C++ that refers to the fields of current class. #include <iostream>    using   namespace  std;   class  Employee {       public :           int  id;  //data member (also instance variable)               string name;  //data member(also instance variable)            float  salary;          Employee( int  id, string name,  float  salary)             {                   this ->id = id;                  this ->name = name;                  this ->salary = salary;            }             void  display()             {                 cout<<id<< "  " <<name<&