Skip to main content

Transport Layer Protocols

There are two fundamental protocols in the transport layer  1. TCP Transmission Control Protocol-- connection-oriented protocol 2. UDP User Datagram Protocol -- connectionless protocol Connection-oriented communication : establishes a logical (virtual) connection prior to sending data. Connectionless communication : sends data right away without establishing a logical connection Qn why do we have transport layer protocal?  IP provides a weak, but efficient service model (best-effort ) How should hosts send into the network?      i.)Flow Control      ii.) Too fast is bad; too slow is not efficient IP packets are addressed to a host           How to decide which application gets which packets?         NOTE TRASPORT LAYER IS RESPONSIBLE FOR PROCESS TO PROCESS DELIVERY PORTS port is a communication endpoints  Since there are many applications running on a co...

How USB Works

 Universal Serial Bus, or USB for short provides a single, standardized, easy to use way to connect devices to a computer. It uses a much higher data transfer rate than many common serial data formats. You can attach up to 127 individual devices to your computer using USB. USB can also supply enough power to smaller USB devices taking away the need to plug them into an external power source. This comes in handy for remote notebook useage.

Some common examples of USB devices include:

  • Printers
  • Scanners
  • Mice
  • Keyboards
  • Joysticks
  • Digital cameras
  • Webcams
  • Speakers
  • External hard drives

If the device you are installing is new to the computer, Windows will auto detect it and asks for the driver disk if needed. If the device has already been installed, the computer will start using the device right away. USB devices can be connected and disconnected at any time making them hot swappable. Typical USB connectors have an A connector on one side and a B connector on the other. You can have other types of connectors for different devices such as cameras and cell phones.

Typical USB cable


                 The PC host typically has connections for two or more external USB ports. Each of these connectors on the PC is actually a connection to a separate root hub inside the PC. A USB host controller in the PC is integrated into the chip set on newer systems and orchestrates the sending and receiving of data between the PC and an external device. When the host powers up, it queries all of the devices connected to the bus and assigns each one an address. The host keeps track of the total bandwidth that all of the isochronous and interrupt devices are requesting.

If you don't have enough USB ports on your computer to accommodate all of your devices then you can buy a USB hub. Hubs can be powered or unpowered. Hubs can be part of the device such as a keyboard or monitor with USB connections on it. The USB standard allows for devices to draw their power from their USB connection. A high power device like a printer will have its own power supply, but low power devices like mice and cameras can get their power from USB bus so you don't need external power. Individual USB cables can run as long as 5 meters.

USB 1.1 was released in September 1998 and USB 2.0 was released in early 2000. With USB 2, the bus has a maximum data rate of 480 Mbps which is 40 times faster than USB 1.1 and has full forward and backward compatibility. USB 3.0 is now out and offers a maximum speed of 4.8 Gbit/second which is about 10 times faster than USB 2.0. USB 2.0 cables work off of four lines, a pair for in/out data transfer, one line for power, and the last for grounding. USB 3.0 adds five new lines.

Many USB devices can be put to sleep by the host computer when the computer enters a power saving mode. There is a set of drivers included in the newer versions of Windows that support certain devices called human interface devices or HIDs. These devices don't require much data to be transferred to or from the host computer. The firmware inside these peripheral devices must support the Windows HID protocol if you want to use the existing HID drivers.

USB has been supported in Windows since Windows 98 SE. Windows 7 was be the first version of Windows to support the USB 3.0 standard.


Comments

Popular posts from this blog

computer tricks you must know in 2020

The top 3 Computer tricks  There are lots of hidden tricks present on the computer/laptop that are unknown to most of the users. Here I have written the top 14 computer tips and tricks [2020] to let you know all the hidden tricks that are present on your computer.   1. Clear Useless Temporary Data There are lots of temporary data present in your laptop/computer machine which should be cleared in some certain time. To clear the temporary data from your windows, click on the  windows logo  search  ‘run’  and open it. Now type  %temp%  and hit enter, there will be lots of useless folders and files you have to select and delete all the files and folders. Clearing temporary data will boost your Computer(PC) performance and free the hard drive space. 2. Play media into chrome browser Sometimes you don’t have any media player to play audios and videos. In this case, you can use your Chrome browser as a media player. To play audio or video s...

amazing tricks to learn 2020

10 hidden Google tricks we bet you didn’t know! Google has changed our lives forever, hasn’t it? Moreover, It’s kind of hard to imagine a world where Google does not exist… This Einstein of search engines is also very sneaky! Here are 10 Google tricks you need to try right away! We bet you are going to love these! 2.   Askew/Tilt When someone is trying to search something on google send them the askew link and watch the reaction. Askew/Tilt will tilt the google page and the user watching it for the first time will be shocked. Try it with your friends to see their reactions. 3.   Zerg Rush Search Zerg Rush and see your Google results disappearing one by one. The search will take you to a google page where you can see the alphabets erasing and falling all the results one by one. 4.   Blink HTML Go to google and search Blink HTML. You can see all the words blinking at a time. Try this! 5.   Party Like It’s 1998 If your friend is using a high-speed internet connecti...