Transmission Control Protocol (TCP) provides reliable, ordered, and error-checked delivery of octets (bytes) between applications running on hosts communicating via an IP network.
TCP is connection-oriented, and a connection between client and server must be established before data can be sent. The server must be listening (passive open) for connection requests from cilents before a connection is established. Three-way handshake (active open), retransmission, and error detection adds to