ArticleslgStudy

computer science

Connectionless communication

Connectionless 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 Connectionless communication rather than just read about it. In short: Connectionless communication, often referred to as CL-mode communication, is a data transmission method used in packet switching networks, using data packets that are frequently called datagrams, in which each data packet is individually addressed and routed based on information carried in each packet, rather than in the setup information of a prearranged, fixed data channel as in connection-oriented communication…

Key takeaways

  • Connectionless 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 Connectionless communication to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Connectionless communication from memory before moving on to harder problems.

Reference excerpt

Connectionless communication, often referred to as CL-mode communication, is a data transmission method used in packet switching networks, using data packets that are frequently called datagrams, in which each data packet is individually addressed and routed based on information carried in each packet, rather than in the setup information of a prearranged, fixed data channel as in connection-oriented communication. Connectionless protocols are usually described as stateless protocols; the Internet Protocol (IP) and User Datagram Protocol (UDP) are examples.

Attributes Under connectionless communication between two network endpoints, a message can be sent from one endpoint to another without prior arrangement. The device at one end of the communication transmits data addressed to the other, without first ensuring that the recipient is available and ready to receive the data. Some protocols allow for error correction by requesting retransmission. Connectionless protocols are stateless protocols because the endpoints have no protocol-defined way to remember where they are in a "conversation" of message exchanges. It has lower overhead than connection-oriented communication because, in connection-oriented communication, the communicating peers must first establish a logical or physical data channel or connection in a dialog preceding the exchange of user data. It allows for multicast and broadcast operations in which the same data are transmitted to several recipients in a single transmission. In connectionless transmissions, the service provider usually cannot guarantee that there will be no loss, error insertion, misdelivery, duplication, or out-of-sequence delivery of the packet. However, the effect of errors may be reduced by implementing error correction within an application protocol. In connectionless mode, there is less opportunity for optimization when sending several data units between the same two peers. By establishing a connection at the beginning of such a data exchange the components (routers, bridges) along the network path would be able to pre-compute (and hence cache) routing-related information, avoiding re-computation for every packet. In connection-oriented communication, network components can also reserve capacity for the transfer of the subsequent data units of a video download, for example.

Architecture and implementations Distinction between connectionless and connection-oriented transmission may take place at several layers of the OSI Reference Model:

Transport layer: TCP is a connection-oriented transport protocol. UDP is connectionless. Network layer. Data link layer: The IEEE 802.2 protocol at the Logical Link Control sublayer of the data link layer may provide both connectionless and connection-oriented services. In fact, some network protocols (such as SNA's Path Control in its early stages) require a connection-oriented data link layer. Others (like IP) do not. (After the appearance of APPN, SNA could operate on a connectionless data link service as well.) Notable connectionless protocols are: Internet Protocol (IP), User Datagram Protocol (UDP), Internet Control Message Protocol (ICMP), Internetwork Packet Exchange (IPX), Transparent Inter-process Communication, NetBIOS, and Fast and Secure Protocol (FASP).

References

This article incorporates public domain material from Federal Standard 1037C. General Services Administration. Archived from the original on 2022-01-22.

Worked examples

Example 1 — a first encounter with Connectionless communication

Start with the simplest possible case. Write down what Connectionless 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 Connectionless 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 Connectionless 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 Connectionless communication

In research
Connectionless 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 Connectionless 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
Connectionless 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 Connectionless 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 “Connectionless communication” →

How to study Connectionless communication in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Connectionless 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 Connectionless communication out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Connectionless communication in simple terms?

Connectionless communication, often referred to as CL-mode communication, is a data transmission method used in packet switching networks, using data packets that are frequently called datagrams, in which each data packet is individually addressed and routed based on information carried in each pac…

Why does Connectionless 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 Connectionless 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 Connectionless communication.

Tags

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

Keep exploring