The type of communication this protocol
delivers is known as reliable data delivery.
When a connection-oriented protocol (like
TCP) sends data between two machines, the
sending machine first informs the network
that it needs to start a conversation with
some other machine on the network. A connection-oriented
protocol has the following features:
- The network guarantees that all packets
sent will be delivered in the correct order,
without loss or duplication. If this is
not possible, the network will terminate
the call.
- If a network becomes overly busy, future
call requests are refused in order to preserve
the integrity of existing calls.
Therefore, it is not possible to send a
broadcast packet using a connected-oriented
protocol. By definition, a broadcast packet
is sent to multiple hosts on the same network.
The first thing a connection-oriented protocol
tries to do is contact the intended destination
machine and sees if it will accept new calls.
In a properly designed network addressing
scheme, no computer will claim to have a
broadcast address. The second type of protocol
at the Transport layer is the connectionless
protocol.
- Transmission Control Protocol (TCP)
TCP is the connection-oriented protocol,
amongst the TCP/IP protocol stack, which
operates at the transport layer. It provides
a reliable connection between different
hosts. With this protocol, all packets are
sequenced and acknowledged, and a virtual
circuit is established for communications.
Upper level applications using TCP/IP include
the following:
- Virtual Terminal Protocol (Telnet)
- File Transfer Protocol (FTP)
- Simple Mail Transfer Protocol (SMTP)
TCP provides reliability through the use
of acknowledgements with retransmission.