ArticleslgStudy

computer science

Connection-oriented communication

Connection-oriented communication is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Connection-oriented communication rather than just read about it. In short: In telecommunications and computer networking, connection-oriented communication is a communication protocol where a communication session or a semi-permanent connection is established before any useful data can be transferred. The established connection ensures that data is delivered in the correct order to the upper communication layer.

Key takeaways

  • Connection-oriented communication belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Connection-oriented communication to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Connection-oriented communication from memory before moving on to harder problems.

Reference excerpt

In telecommunications and computer networking, connection-oriented communication is a communication protocol where a communication session or a semi-permanent connection is established before any useful data can be transferred. The established connection ensures that data is delivered in the correct order to the upper communication layer. The alternative is called connectionless communication, such as the datagram mode communication used by Internet Protocol (IP) and User Datagram Protocol (UDP), where data may be delivered out of order, since different network packets are routed independently and may be delivered over different paths. Connection-oriented communication may be implemented with a circuit switched connection, or a packet-mode virtual circuit connection. In the latter case, it may use either a transport layer virtual circuit protocol such as the Transmission Control Protocol (TCP) protocol, allowing data to be delivered in order. Although the lower-layer switching is connectionless, or it may be a data link layer or network layer switching mode, where all data packets belonging to the same traffic stream are delivered over the same path, and traffic flows are identified by some connection identifier reducing the overhead of routing decisions on a packet-by-packet basis for the network. Connection-oriented protocol services are often, but not always, reliable network services that provide acknowledgment after successful delivery and automatic repeat request functions in case of missing or corrupted data. Asynchronous Transfer Mode (ATM), Frame Relay and Multiprotocol Label Switching (MPLS) are examples of connection-oriented unreliable protocols. Simple Mail Transfer Protocol (SMTP) is an example of a connection-oriented protocol in which, if a message is not delivered, an error report is sent to the sender, making it a reliable protocol. Because they can keep track of a conversation, connection-oriented protocols are sometimes described as stateful.

Circuit switching Circuit switched communication, for example the public switched telephone network, ISDN, SONET/SDH and optical mesh networks, are intrinsically connection-oriented communication systems. Circuit-mode communication provides guarantees that constant bandwidth will be available, and bit stream or byte stream data will arrive in order with constant delay. The switches are reconfigured during a circuit establishment phase.

Virtual circuit switching Packet switched communication may also be connection-oriented, which is called virtual circuit mode communication. Due to packet switching, communication may suffer from variable bit rates and delays, due to varying traffic loads and packet queue lengths. Connection-oriented communication does not necessarily imply reliability.

Transport layer Connection-oriented transport-layer protocols provide connection-oriented communications over connectionless communication systems. A connection-oriented transport layer protocol, such as TCP, may be based on a connectionless network-layer protocol such as IP, but still achieves in-order delivery of a byte-stream by means of segment sequence numbering on the sender side, packet buffering, and data packet reordering on the receiver side.

Datalink and network layer In a connection-oriented packet-switched data-link or network-layer protocol, all data is sent over the same path during a communication session. Rather than using complete routing information for each packet (source and destination addresses) as in connectionless datagram switching such as conventional IP routers, a connection-oriented protocol identifies traffic flows only by a channel or data stream number, often denoted virtual circuit identifier (VCI). Routing information may be provided to the network nodes during the connection establishment phase, where the VCI is defined in tables within each node. Thus, the actual packet switching and data transfer can be taken care of by fast hardware, as opposed to slower software-based routing. Typically, this connection identifier is a small integer (for example, 10 bits for Frame Relay and 24 bits for ATM). This makes network switches substantially faster. ATM and Frame Relay, for example, are both examples of connection-oriented, unreliable data link layer protocols. Reliable connectionless protocols exist as well, for example, AX.25 network layer protocol when it passes data in I-frames, but this combination is rare, and reliable connectionless protocols are uncommon in modern networks. Some connection-oriented protocols have been designed or altered to accommodate both connection-oriented and connectionless data.

Examples Examples of connection-oriented packet-mode communication, i.e. virtual circuit mode communication:

References

Worked examples

Example 1 — a first encounter with Connection-oriented communication

Start with the simplest possible case. Write down what Connection-oriented communication claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Connection-oriented communication before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Connection-oriented communication ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Connection-oriented communication

In research
Connection-oriented communication appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Connection-oriented communication in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Connection-oriented communication is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer networking, Internet architecture, Internet protocols, so understanding it makes those chapters shorter.
In everyday life
Look for Connection-oriented communication outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Connection-oriented communication” →

How to study Connection-oriented communication in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Connection-oriented communication means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Connection-oriented communication out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Connection-oriented communication in simple terms?

In telecommunications and computer networking, connection-oriented communication is a communication protocol where a communication session or a semi-permanent connection is established before any useful data can be transferred. The established connection ensures that data is delivered in the correc…

Why does Connection-oriented communication matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Connection-oriented communication?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Connection-oriented communication.

Tags

  • Computer networking
  • Internet architecture
  • Internet protocols
  • Network protocols

Keep exploring