170 likes | 457 Views
TCP. Transmission Control Protocol Part 1 CH 23 Aseel Alturki. In Comparison with UDP. TCP Services. Process-to-Process communication Stream Delivery Service:. TCP Services (Cont..). Stream Delivery Service (Cont..). TCP Services (Cont..).
E N D
TCP Transmission Control Protocol Part 1 CH 23 Aseel Alturki
In Comparison with UDP Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
TCP Services • Process-to-Process communication • Stream Delivery Service: Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
TCP Services (Cont..) • Stream Delivery Service (Cont..) Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
TCP Services (Cont..) • Stream Delivery Service (Sending and Receiving Buffers) Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
TCP Services (Cont..) • Stream Delivery Service (Segments) Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
TCP Services (Cont..) • Full-Duplex Communication • Connection-Oriented Service • Reliable Service Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
TCP Features • Numbering System • Byte Number • Sequence Number: Example 23.3: Solution: Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
TCP Features (Cont..) • Numbering System (Cont..) • Acknowledgment Number • Flow Control • Error Control • Congestion Control Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Segment Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
Segment (Cont..) Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
A TCP Connection • In TCP, connection-oriented transmission requires three phases: • connection establishment. • data transfer. • and connection termination. Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
A TCP Connection (Cont..) • Connection establishment: • Three-way Handshaking Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
A TCP Connection (Cont..) • Three-way Handshaking (Cont..) Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
A TCP Connection (Cont..) • Connection establishment (Cont..): • Simultaneous Open • SYN Flooding Attack • Data Transfer: • Pushing Data • Urgent Data Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
A TCP Connection (Cont..) • Connection Termination • Using Three-Way Handshaking Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007
A TCP Connection (Cont..) • Connection Termination (Cont..) • Half Close Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007