ChatGPT Connection and Wireless Oriented
ChatGPT Connection and Wireless Oriented
1. Connection-Oriented Service
Definition
A service where a connection is established between the sender and receiver before data is
transmitted. This connection ensures reliable delivery.
Features
Connection Establishment: Requires a handshake process (e.g., TCP's three-way
handshake).
Reliable Data Transfer: Guarantees delivery of data in the correct order.
Acknowledgment: The receiver sends acknowledgments for received data packets.
Error Handling: Resends lost or corrupted packets.
Stateful: Maintains the state of the connection throughout the session.
Higher Overhead: Due to connection setup, acknowledgment, and error correction.
Example Protocol
TCP (Transmission Control Protocol): Used in web browsing (HTTP/HTTPS), email (SMTP,
IMAP), and file transfers (FTP).
Analogy
It’s like making a phone call. You dial the number, establish a connection, and then talk.
Advantages
Reliable data transfer.
Ensures data is delivered in sequence.
Disadvantages
Slower due to the overhead of establishing and maintaining connections.
2. Connectionless Service
Definition
A service where data is sent without establishing a connection. Each data packet is transmitted
independently.
Features
No Connection Setup: Data is sent immediately without a handshake process.
Unreliable Delivery: No guarantees of delivery, order, or error correction.
Stateless: The system does not maintain information about the connection.
Lower Overhead: No need for connection establishment or maintenance.
Faster: Because of reduced overhead.
https://chatgpt.com/c/6752f19b-1ac8-8009-880b-e92a860cb269 1/2
06/12/2024, 18:26 ChatGPT
Example Protocol
UDP (User Datagram Protocol): Used in applications where speed is critical, like video
streaming, gaming, and DNS.
Analogy
It’s like sending a letter. You drop it in the mailbox without confirming if the recipient is there.
Advantages
Low latency and faster data transfer.
Suitable for real-time applications.
Disadvantages
No acknowledgment or retransmission of lost packets.
Not suitable for sensitive data requiring reliability.
https://chatgpt.com/c/6752f19b-1ac8-8009-880b-e92a860cb269 2/2