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 computer, there is a need to decide which application gets which packet. A port number is a way to identify a specific application (proc

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?
  1.  IP provides a weak, but efficient service model (best-effort)
  2. How should hosts send into the network?
         i.)Flow Control
         ii.) Too fast is bad; too slow is not efficient
  3. 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 computer, there is a need to decide which application gets which packet.

A port number is a way to identify a specific application (process) to which an Internet or other network message is to be forwarded when it arrives at a server

It is essentially a memory space denoted by a 16-bit non-negative integer ranging from 0-65,535 inclusive.

One port is linked to only one application

One application may use many ports for different purposes (e.g. FTP: 20, 21)
   

TYPES OF PORT NUMBERS

  1. Well-known Ports: range 0-1023
  2. Registered Ports: range 1024-49151
  3. Dynamic ports: range 49152-65535


     



These ports are reserved for services and applications.

Everyone agrees what services run on these ports. E.g. ssh:22, http:80 

By defining these well-known ports for server applications, client applications can be programmed to request a connection to that specific port and its associated service. 

Client must know server’s port.

The Well Known Ports are assigned by the IANA and on most systems can only be used by system (or root) processes or by programs executed by privileged users.








alert('Hello')

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 simply drag your file into the Chrome browser

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 c

Object oriented development

  Definition of Terms Object-Oriented Design This is concerned with developing an object- oriented model of a software system to implement the identified requirements. The objects in an object-oriented design is related to the solution to the problem. There may be close relationships between some problem objects and some solution objects, but the designer inevitably has to add new objects and to transform problem objects to implement the solution. Object-Oriented Programming This is concerned with realizing a software design using an object-oriented programming language, such as Java or C++. An object-oriented a programming language provides constructs to define object classes and a run-time system to create objects from these classes. An Object An object is an entity that has a state and a defined set of operations that operate on that state. The state is represented as a set of object attributes. The operations associated with the object provide services to other objects (clients) th