Sunteți pe pagina 1din 1

Connection oriented

Connection oriented requires a session connection be established before any data can be
sent. Therefore, connection oriented often called a “reliable” network service.
Example for connection oriented is TCP, has many advantages when it transit data over
network. In TCP have three operations:
Authentication: When sender contacts with receiver, they agree establish a
connection, authentication occurs.
Data transmission: During this part of the process, the sending computer waits for
acknowledgement message between each part of the transmission. If an
acknowledgement is not received, that portion of the transmission is resent until it has
been received without error. Therefore, we have when packet is sent to destination. A
transmission sent over the network using a connection oriented is received in the same
order in which it was sent, and does not require routing information. These features
improve the speed and accuracy of data transmission.
Break the connection: when the data transmission is completed, the connection is
broken. If further data needs to be sent between the two devices, a new connection must
be initiated.

Connectionless
Connectionless does not require a session connection between sender and receiver. The
sender simply starts sending packets to the destination. If the destination is not receiver,
the receiver become to sender and starts sending packets, till send exactly destination.
Connectionless does not have the reliability. Therefore, connectionless must contain
routing information. Connectionless data transport protocol does not require
authentication, and has no error control process.

Reference:
Connection-Oriented and Connectionless Services
Connection Oriented vs. Connectionless Protocols

S-ar putea să vă placă și