You are on page 1of 2

Assignment #3 Fall_2020 Semester

NAME: Muhammad Azeem Talib


ID: 17221
Subject: Data Communication & Computer Networks
Allocated Marks: 15

Question:

a) Explain the differences between Full-duplex service and Connection-


oriented services in TCP in detail.
a) The difference is:
1) Full-Duplex Service:
In full-duplex mode, both stations can transmit and receive simultaneously. In
full_duplex mode, signals going in one direction share the capacity of the link
with signals going in another direction, this sharing can occur in two ways:
Either the link must contain two physically separate transmission paths, one for
sending and the other for receiving.
Or the capacity is divided between signals traveling in both directions.
A full-duplex mode is used when communication in both directions is required
all the time. The capacity of the channel, however, must be divided between the
two directions.
Example: Telephone Network in which there is communication between two
persons by a telephone line, through which both can talk and listen at the same
time.
2) Connection-Oriented Service in TCP:
TCP is an example of a connection-oriented protocol. It requires a logical
connection to be established between the two processes before data is exchanged.
The connection must be maintained during the entire time that communication is
taking place, then released afterward. The process is much like a telephone call,
where a virtual circuit is established--the caller must know the person's telephone
number and the phone must be answered--before the message can be delivered.
TCP/IP is also a connection-oriented transport with an orderly release. With the
orderly release, any data remaining in the buffer is sent before the connection is
terminated. The release is accomplished in a three-way handshake between client
and server processes. The connection-oriented protocols in the OSI protocol
suite, on the other hand, do not support orderly release. Applications perform any
handshake necessary for ensuring orderly release.

Examples of services that use connection-oriented transport services are telnet,


Rlogin, and FTP

What is the purpose of Reliable service in TCP?


b) The purpose of reliable service in TCP

TCP is a reliable protocol as it follows the flow and error control mechanism. It
also supports the acknowledgment mechanism, which checks the state and sound arrival of
the data. In the acknowledgment mechanism, the receiver sends either positive or negative
acknowledgment to the sender so that the sender can get to know whether the data packet
has been received or needs to resend.

You might also like