Codecademy Logo

Sockets

Print Cheatsheet

What is TCP?

Transmission Control Protocol (TCP) is a communication protocol that enables applications to exchange messages over a network and ensure the successful delivery of exchanged data packets. Due to its reliability, TCP is the favored protocol for many types of common applications.

Diagram comparing data flow in TCP.