Docsity

traditional tcp easy notes, Lecture notes of Wireless Networking

Toggle sidebar
bg1
TRADITIONAL TCP
TCP is an alternative transport layer protocol over IP.
TCP provides:
· Connection-oriented
· Reliable
· Full-duplex
· Byte-Stream
Connection-Oriented
·
Connection oriented
means that a virtual connection is established before any user data is
transferred.
· If the connection cannot be established – the user program is notified.
· If the connection is ever interrupted – the user program(s) is notified.
Reliable
·
Reliable
means that every transmission of data is acknowledged by the receiver.
· If the sender does not receive acknowledgement within a specified amount of time, the sender
retransmits the data
Byte Stream
·
Stream
means that the connection is treated as a stream of bytes.
pf3

Partial preview of the text

Download traditional tcp easy notes and more Lecture notes Wireless Networking in PDF only on Docsity!

TRADITIONAL TCP

TCP is an alternative transport layer protocol over IP.

TCP provides:

· Connection-oriented · Reliable · Full-duplex · Byte-Stream

Connection-Oriented

· Connection oriented means that a virtual connection is established before any user data is

transferred. · If the connection cannot be established – the user program is notified. · If the connection is ever interrupted – the user program(s) is notified.

Reliable

· Reliable means that every transmission of data is acknowledged by the receiver.

· If the sender does not receive acknowledgement within a specified amount of time, the sender retransmits the data

Byte Stream

· Stream means that the connection is treated as a stream of bytes.

· The user application does not need to package data in individual datagrams (as with UDP).

Buffering

· TCP is responsible for buffering data and determining when it is time to send a datagram.

· It is possible for an application to tell TCP to send the data it has buffered without waiting for a buffer to fill up.

Full Duplex

· TCP provides transfer in both directions.

· To the application program these appear as 2 unrelated data streams, although TCP can piggyback control and data communication by providing control information (such as an ACK) along with user data.

TCP Ports

· Interprocess communication via TCP is achieved with the use of ports (just like UDP).

· UDP ports have no relation to TCP ports (different name spaces).

TCP Segments

The chunk of data that TCP asks IP to deliver is called aTCP segment.