

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


TCP is an alternative transport layer protocol over IP.
TCP provides:
· Connection-oriented · Reliable · Full-duplex · Byte-Stream
Connection-Oriented
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
· If the sender does not receive acknowledgement within a specified amount of time, the sender retransmits the data
Byte Stream
· 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