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 TO FORMAT HARD DISK

 There may come a time when you will need to format your hard drive for some reason or another. These reasons may be because you are installing new operating system from scratch, or you want to wipe out a secondary drive to start fresh with new data or maybe even if you want to delete the partitions on a hard drive itself.

Whatever the reason you are choosing to format your drive it’s very easy to do and there are several ways to do it. You can even format things like external hard drives and USB flash drives. Just keep in mind that with whatever drive you choose to format you will lose all the data on that drive so be sure to back it up first if you care about it!

The first and easiest way to format a drive is to open Windows Explorer\File Explorer and find the drive you want to format. Then you can simply right click on it and choose Format from the list. You will then be presented with a dialog box showing you information about the drive and also giving you some settings that you can change. The first section Capacity shows the size of the drive and it will usually be in GB unless you have a really small drive. Next is File system which is an option that you can change. Usually you will have the choice of NTFS, FAT32, FAT, exFAT or REFS depending on what type of drive you are formatting and what version of Windows you are running. If it’s an internal hard drive you should stick with NTFS or REFS if you have a newer version of Windows. Flash drives should be either NTFS or FAT32 depending on what you are using it for.


Next is the Allocation unit size which is the block size on your hard drive when it formatted. For most cases the default 4096 bytes setting works the best. And with today’s huge hard drives this setting is not as important as it used to be.

The Volume label is what is show when you look at the drive in Windows Explorer or My Computer etc. and you can change this to whatever you want as long as it’s not more than 32 characters but this will vary on what file system type you are using.





Comments

Popular posts from this blog

Simple Android RecyclerView example

  Start with an empty activity. You will perform the following tasks to add the RecyclerView. All you need to do is copy and paste the code in each section. Later you can customize it to fit your needs. Add dependencies to gradle Add the xml layout files for the activity and for the RecyclerView row Make the RecyclerView adapter Initialize the RecyclerView in your activity Update Gradle dependencies Make sure the following dependencies are in your app  gradle.build  file: implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:recyclerview-v7:28.0.0' Create activity layout Add the  RecyclerView  to your xml layout. activity_main.xml <?xml version="1.0" encoding="utf-8"?> < RelativeLayout xmlns:android = "http://schemas.android.com/apk/res/android" android:layout_width = "match_parent" android:layout_height = "match_parent" > < androi...