TCP 與 UDP 協定分析 第 22 組 b91902049 陳贊羽 b91902064 馬家驤 b91902067 林怡賢 b91902077 王奕棠.

Slides:



Advertisements
Similar presentations
Networks and TCP/IP Part 2. PORTS Ports – What and Why are They?  Typically: Computers usually have only one network access point to the internet 
Advertisements

CISCO NETWORKING ACADEMY Chabot College ELEC Transport Layer (4)
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Transmission Control Protocol (TCP)
Intermediate TCP/IP TCP Operation.
Introduction1-1 message segment datagram frame source application transport network link physical HtHt HnHn HlHl M HtHt HnHn M HtHt M M destination application.
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
UDP & TCP Where would we be without them!. UDP User Datagram Protocol.
CS 471/571 Transport Layer 5 Slides from Kurose and Ross.
Configuring a Router with RIP Basic Configuration and Show Commands.
1 TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
1 CS 4396 Computer Networks Lab Transmission Control Protocol (TCP) Part I.
TCP: Transmission Control Protocol Overview Connection set-up and termination Interactive Bulk transfer Timers Improvements.
Instructor: Sam Nanavaty TCP/IP protocol. Instructor: Sam Nanavaty Version – Allows for the evolution of the protocol IHL (Internet header length) – Length.
Transmission Control Protocol (TCP) Basics
5/6/2015© 2010 Raymond P. Jefferis IIILect Transport Layer.
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
BZUPAGES.COM 1 User Datagram Protocol - UDP RFC 768, Protocol 17 Provides unreliable, connectionless on top of IP Minimal overhead, high performance –No.
Transport Layer – TCP (Part1) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Lecture # 14 TCP/IP - UDP Computer Communication & Networks.
Chapter 7 – Transport Layer Protocols
TELE202 Lecture 14 TCP/UDP (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »TCP/UDP (1) »Source: chapter 17 ¥This Lecture »TCP/UDP (2) »Source: chapter.
TCP segment structure source port # dest port # 32 bits application data (variable length) sequence number acknowledgement number rcvr window size ptr.
TRANSPORT LAYER  Session multiplexing  Segmentation  Flow control (TCP)  Connection-oriented (TCP)  Reliability (TCP)
Copyright 1999, S.D. Personick. All Rights Reserved. Telecommunications Networking II Lecture 32 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
EEC-484/584 Computer Networks Lecture 15 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
EEC-484/584 Computer Networks Lecture 13 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
Gursharan Singh Tatla Transport Layer 16-May
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
The Saigon CTT Semester 1 CHAPTER 12 – 13 – 14 Le Chi Trung.
6.1. Transport Control Protocol (TCP) It is the most widely used transport protocol in the world. Provides reliable end to end connection between two hosts.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 All.
10/13/20151 TCP/IP Transmission Control Protocol Internet Protocol.
TCP: A Closer Look Transmission Control Protocol.
TCP Transport Control Protocol Information management 2 Groep T Leuven – Information department 2/35 Introduction UDP provides the connection.
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
TCP Lecture 13 November 13, TCP Background Transmission Control Protocol (TCP) TCP provides much of the functionality that IP lacks: reliable service.
University of the Western Cape Chapter 12: The Transport Layer.
Copyright 2002, S.D. Personick. All Rights Reserved.1 Telecommunications Networking II Topic 20 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
Transmission Control Protocol
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 6 The Transport Layer.
Review the key networking concepts –TCP/IP reference model –Ethernet –Switched Ethernet –IP, ARP –TCP –DNS.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
© Jörg Liebeherr (modified by Malathi Veeraraghavan) 1 Overview Formats, Data Transfer, etc. Connection Management.
Transport Protocols.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Computer Networks 1000-Transport layer, TCP Gergely Windisch v spring.
1 Transmission Control Protocol (TCP) RFC: Introduction The TCP is intended to provide a reliable process-to-process communication service in a.
Two Transport Protocols Available Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Provides unreliable transfer Requires minimal – Overhead.
Introduction to TCP/IP networking
Process-to-Process Delivery
TCP.
© 2003, Cisco Systems, Inc. All rights reserved.
TCP - Part I Karim El Defrawy
CCNA 2 v3.1 Module 10 Intermediate TCP/IP
PART V Transport Layer.
PART 5 Transport Layer.
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
Introduction to Computer Networks
Lecture 21 and 22 5/29/2019.
Transport Layer 9/22/2019.
Presentation transcript:

TCP 與 UDP 協定分析 第 22 組 b 陳贊羽 b 馬家驤 b 林怡賢 b 王奕棠

TCP Overview (1/2) TCP creates "segments" or "user datagrams" by taking the information from the Application layer and adding a header to it. Since TCP is responsible for Port to Port addressing, it uses a 16bit process port to identify who it wants to talk to. This means that TCP deals with program to program, not machine to machine. TCP creates "segments" or "user datagrams" by taking the information from the Application layer and adding a header to it. Since TCP is responsible for Port to Port addressing, it uses a 16bit process port to identify who it wants to talk to. This means that TCP deals with program to program, not machine to machine.

TCP Overview (2/2) It works by opening up a stream or virtual circuit between the two ports, which begins by alerting the receiver to expect information and ends by an explicit termination signal. Since every segment received is answered with an acknowledge, TCP is a reliable stream delivery service. This just means that the information is "guaranteed" to arrive, or an error will be returned. It works by opening up a stream or virtual circuit between the two ports, which begins by alerting the receiver to expect information and ends by an explicit termination signal. Since every segment received is answered with an acknowledge, TCP is a reliable stream delivery service. This just means that the information is "guaranteed" to arrive, or an error will be returned.

TCP Header (1/9)

TCP Header (2/9)  Source Port Address (16)-The address of the application that is generating the segment.  Destination Port Address (16)-The address of the application that will receive the segment.

TCP Header (3/9)  Sequence Number (32)-Position of data in the original data stream (if it has been split).  Acknowledge Number (32)-Acknowledges the acceptance of data from the other device.

TCP Header(4/9)  H Len (4)-Header Length. Number of 4 byte words used in header (0-60 bytes).  reserved (6)---reserved for future use--

TCP Header (5/9)  [CONTROL]: URG (1)-Urgent Bit validates the Urgent Pointer field.  [CONTROL]: ACK (1)-Acknowledge Bit, set if the Acknowledge Number field is being used.

TCP Header (6/9)  [CONTROL]: PSH (1)-Push Bit tells the sender that a higher throughput is required.  [CONTROL]: RST (1)-Reset Bit resets the connection when there's conflicting sequence numbers.

TCP Header (7/9)  [CONTROL]: SYN (1)-Sequence Number Synchronization. Used in 3 types of segments: connection request, connection confirmations (with ACK) and confirmation termination (with FIN) in 3 types of segments: terminal request, terminal confirmation (with ACK) and acknowledgement of terminal confirmation (with ACK).

TCP Header (8/9)  [CONTROL]: FIN (1)-Used with SYN to confirm termination of connections.  Window Size (16)-Defines the size of the "sliding window.“  Checksum (16)-Error checking and correction.

TCP Header (9/9)  Urgent Pointer (16)-Valid if URG is set, it defines the end of the urgent data.  Options and Padding (variable)-Additional information for alignment purposes (see below).

TCP connection

TCP Disconnection

TCP Functionality (1/2)  Streams. TCP data is organized as a stream of bytes, much like a file. The datagram nature of the network is concealed.  Reliable delivery. TCP will arrange for retransmission if it determines that data has been lost.

TCP Functionality (2/2)  Network adaptation. TCP will dynamically learn the delay characteristics of a network and adjust its operation to maximize throughput without overloading the network.  Flow control. TCP manages data buffers, and coordinates traffic so its buffers will never overflow. Fast senders will be stopped periodically to keep up with slower receivers