Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2.1.3 PROTOCOLS For example, Figure 2.3 illustrates a protocol graph for the
layered system we have been discussingthe protocols
The abstract objects that make up the layers of a Request/Reply Protocol (RRP) and Message Stream Protocol
network system are called protocols. (MSP) implement two different types of process-to-process
A protocol provides a communication service that channels, and both depend on Host-to-Host Protocol (HHP), which
higher-level objects use to exchange messages. provides a host-to-host connectivity service.
1. Framing:
The data link layer divides the stream of bits
received from the network layer into
manageable data units called frames.
2. Physical addressing: Fig 2.9 Transport Layer
If frames are to be distributed to different
DUTIES OF TRANSPORT LAYER:
systems on the network, the data link layer
1. Service-point addressing:
adds a header to the frame to define the
sender and/or receiver of the frame. The transport layer header includes a type of
3. Flow control: address called a service-point address (or
port address).
If the rate at which the data are absorbed by
the receiver is less than the rate at which The network layer gets each packet to the
data are produced in the sender, the data link correct computer; the transport layer gets the
layer imposes a flow control mechanism to entire message to the correct process on that
avoid overwhelming the receiver. computer.
4. Error control: 2. Segmentation and reassembly:
The data link layer adds reliability to the A message is divided into transmittable
physical layer by adding mechanisms to segments, with each segment containing a
detect and retransmit damaged or lost sequence number.
frames. These numbers enable the transport layer to
It also uses a mechanism to recognize reassemble the message correctly upon
duplicate frames. arriving at the destination.
5. Access control: 3. Connection control:
When two or more devices are connected to The transport layer can be either
the same link, data link layer protocols are connectionless or connection oriented.
necessary to determine which device has A connectionless transport layer treats each
control over the link at any given time. segment as an independent packet and
delivers it to the transport layer at the
2.2.3 NETWORK LAYER destination machine.
A connection oriented transport layer makes
The network layer is responsible for the delivery of a connection with the transport layer at the
packets from the original source to the final destination. destination machine first before delivering
the packets. After all the data are
transferred, the connection is terminated.
4. Flow control:
Like the data link layer, the transport layer is
responsible for flow control.
5. Error control:
Like the data link layer, the transport layer is
Fig 2.8 Network Layer responsible for error control.
DUTIES OF NETWORK LAYER: 2.2.5 SESSION LAYER
1. Logical addressing: The Session layer is responsible for establishing,
The physical addressing implemented by the maintaining, and synchronization of the interaction among
data link layer handles the addressing communicating systems.
problem locally.
If a packet passes the network boundary, we DUTIES OF SESSION LAYER
need another addressing system to help
distinguish the source and destination 1. Dialog control:
systems. The session layer allows two systems to
The network layer adds a header to the enter into a dialog.
packet coming from the upper layer that It allows the communication between two
includes the logical addresses of the sender processes to take place in either halfduplex
and receiver. (one way at a time) or full-duplex (two ways
2. Routing: at a time) mode.
When independent networks or links are 2. Synchronization:
connected to create intemetworks (network
of networks) or a large network, the
connecting devices (called routers or
The session layer allows a process to add This application provides the basis for e-
checkpoints, or synchronization points, to a mail forwarding and storage.
stream of data. 3. Directory services:
For example, if a system is sending a file of This application provides distributed
2000 pages, it is advisable to insert database sources and access for global
checkpoints after every 100 pages to ensure information about various objects and
that each 100-page unit is received and services.
acknowledged independently. In this case, if 2.3 INTERNET ARCHITECTURE
a crash happens during the transmission of The Internet architecture, which is also
page 523, the only pages that need to be sometimes called the TCP/IP architecture.
resent after system recovery are pages 501 The Internet architecture evolved out of
to 523. Pages previous to 501 need not be experiences with an earlier Packet-switched
resent. network called the ARPANET.
1. File transfer, access, and management: The transport layer consists of a range of application
This application allows a user to access files protocols, such as FTP, TFTP (Trivial File Transport
in a remote host (to make changes or read Protocol), Telnet (remote login), and SMTP (Simple
data), to retrieve files from a remote Mail Transfer Protocol, or electronic mail), that enable
computer for use in the local computer, and the interoperation of popular applications.
to manage or control files in a remote
computer locally.
2. Mail services: