zoukankan      html  css  js  c++  java
  • TCP Flow Control and Data Transfer

    TCP Flow Control

    TCP Data Transfer

    • Selective Repeat ARQ with Positive ACK
    • Window slides a byte basis instead packet basis
    • Dynamically advertising the window size

    TCP Window Flow Control

    TCP Connection Management

    • Select initial sequence numbers (ISN) to protect against segments from prior connections (delayed duplicates)
    • Use local clock to select ISN sequence number
    • Time for clock to go through a full cycle should be greater than the maximum lifetime of a segment (MSL); Typically MSL=120 seconds
    • High bandwidth connections pose a problem

    Sequence Number Wraparound

    • 2^32 = 4.29x10^9 bytes = 34.3x10^9 bits
      • High bandwidth poses a problem; At 1 Gbps, sequence number wraparound in 34.3 seconds (< MSL that is 120 seconds).
    • Timestamp option: Insert 32 bit timestamp in header of each segment
      • Timestamp + sequence no → 64-bit seq. no
      • Timestamp can be in TCP option clock must:
  • 相关阅读:
    无废话XML--XML约束(DTD)
    无废话XML--XML细节
    XML,HTML,XHTML
    javabean内省
    反射应用--IOC和AOP
    JDK动态代理
    反射
    类加载机制
    linkin大话数据结构--泛型
    java异常处理
  • 原文地址:https://www.cnblogs.com/vancasola/p/7703826.html
Copyright © 2011-2022 走看看