The Wayback Machine - https://web.archive.org/web/20240624205344/https://www.geeksforgeeks.org/connection-oriented-service/
Open In App

Connection-Oriented Service

Last Updated : 25 Jul, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

Connection-Oriented Service is basically a technique that is typically used to transport and send data at session layer. The data streams or packets are transferred or delivered to receiver in a similar order in which they have seen transferred by sender. It is actually a data transfer method among two devices or computers in a different network, that is designed and developed after telephone system. Whenever a network implements this service, it sends or transfers data or message from sender or source to receiver or destination in correct order and manner.

This connection service is generally provided by protocols of both network layer (signifies different path for various data packets that belongs to same message) as well as transport layer (use to exhibits independence among packets rather than different paths that various packets belong to same message will follow).

Operations :
There is a sequence of operations that are needed to b followed by users. These operations are given below :

  1. Establishing Connection –
    It generally requires a session connection to be established just before any data is transported or sent with a direct physical connection among sessions.

  2. Transferring Data or Message –
    When this session connection is established, then we transfer or send message or data.

  3. Releasing the Connection –
    After sending or transferring data, we release connection.

Different Ways :
There are two ways in which connection-oriented services can be done. These ways are given below :

  1. Circuit-Switched Connection –
    Circuit-switching networks or connections are generally known as connection-oriented networks. In this connection, a dedicated route is being established among sender and receiver, and whole data or message is sent through it. A dedicated physical route or a path or a circuit is established among all communication nodes, and after that, data stream or message is sent or transferred.

  2. Virtual Circuit-Switched Connection –
    Virtual Circuit-Switched Connection or Virtual Circuit Switching is also known as Connection-Oriented Switching. In this connection, a preplanned route or path is established before data or messages are transferred or sent. The message Is transferred over this network is such a way that it seems to user that there is a dedicated route or path from source or sender to destination or receiver.

Types of Connection-Oriented Service :

Service Example
Reliable Message Stream Sequence of pages, etc.
Reliable Byte Stream Song Download, etc.
Unreliable Connection VoIP (Voice Over Internet Protocol)

Advantages :

  • It kindly support for quality of service is an easy way.
  • This connection is more reliable than connectionless service.
  • Long and large messages can be divided into various smaller messages so that it can fit inside packets.
  • Problems or issues that are related to duplicate data packets are made less severe.

Disadvantages :

  • In this connection, cost is fixed no matter how traffic is.
  • It is necessary to have resource allocation before communication.
  • If any route or path failures or network congestions arise, there is no alternative way available to continue communication.

  • Similar Reads

    Difference between Connection-oriented and Connection-less Services
    Both Connection-oriented service and Connection-less service are used for the connection establishment between two or more two devices. These types of services are offered by the network layer. Connection-oriented service is related to the telephone system. It includes connection establishment and connection termination. In a connection-oriented se
    2 min read
    Why is TCP Called a Connection Oriented Protocol?
    TCP is a standard connection-oriented protocol that works under the following conditions before any transmission takes place between both devices: Establish a logical connection with the device on receiver's end The Transmission Control Protocol (TCP) is a protocol of the transport layer, which is the "Heart of OSI". And it's a connection-oriented
    4 min read
    Connection-less Service
    A Connectionless Service is technique that is used in data communications to send or transfer data or message at Layer 4 i.e., Transport Layer of Open System Interconnection model. This service does not require session connection among sender or source and receiver or destination. Sender starts transferring or sending data or messages to destinatio
    3 min read
    Calling Web Service Using Curl With Telnet Connection
    Prerequisite: Telnet, Curl Terminal Network as the name suggests is an application layer protocol used to connect with hosts (remote machines) over a TCP/IP network. It is based on a client-server architecture where the telnet client makes a connection with the telnet server and once the connection has been established the client (your computer) ac
    3 min read
    Difference between Structured Programming and Object Oriented Programming
    1. Structured Programming :Structured Programming, as name suggests, is a technique that is considered as precursor to OOP and usually consists of well-structured and separated modules. In this programming, user can create its own user-defined functions as well as this methodology tries to resolve issues that are associated with unconditional trans
    3 min read
    What is Message Oriented Middleware (MOM)?
    The full form of MOM is Message-Oriented Middleware which is an infrastructure that allows communication and exchanges the data (messages). It involves the passing of data between applications using a communication channel that carries self-contained units of information (messages).In a MOM-based communication environment, messages are sent and rec
    3 min read
    HTTP Non-Persistent & Persistent Connection | Set 1
    The Hypertext Transfer Protocol (HTTP) is an application-level protocol that uses TCP as an underlying transport and typically runs on port 80. HTTP is a stateless protocol i.e. server maintains no information about past client requests. HTTP ConnectionsNon-PersistentPersistentBasic Pre-RequisiteThe terminology which we must know before going deep
    3 min read
    TCP Connection Establishment
    Prerequisite – TCP 3-Way Handshake Process TCP is a connection-oriented protocol and every connection-oriented protocol needs to establish a connection in order to reserve resources at both the communicating ends. Connection Establishment - 1. Sender starts the process with the following: Sequence number (Seq=521): contains the random initial seque
    3 min read
    Fiber Optics Broadband Connection
    Fiber connections are a type of broadband connection that uses optical fiber cables for connection. Fiber cables run till end of user's requirement from where copper wires carry wire connection further. Demarcation point of fiber optics broadband is Optical Network Terminator, which converts data from protocols fiber connections can understand, unl
    2 min read
    Which Connection is Best - Fiber, Copper, or Wireless?
    Copper cable: The electrical wiring is made of copper wire. It uses electronic impulses to send and receive data. It's the only solid conductor in the system. Since the invention of the telephone over a century ago, copper cabling has been the predominant method of "wiring" the home. The copper phone cable is more than capable of carrying a voice t
    4 min read
    Article Tags :