Transport Layer/TCP Thanks to Kai Shen ’ s Networking Course at the University of Rochester.
TCP Segment Structure
3a cb fd d ed de 7d fc 00 be c 00 6f f c Bytes in TCP Segment: source port: destination port: sequence number: acknowledgment number: urgent:push: reset: synch: finish: checksum: urgent data pointer: application data:
3a cb fd d ed de 7d fc 00 be c 00 6f f c Source Port (0x3a98): Destination Port (0x05cb): 1483 Sequence Number (0xfdd30827): Acknowledgment Number (0x27edde7d): Header Length (upper 4 bits is # words 0x5): 5 words or 20 bytes Flags (0x18): Receive Window (0xfc00): Checksum (0xbe68): Correct Urgent Data Pointer (0x0000): Not Used Data ( c 00 6c 00 6f f 00 6c ): hello world! Bytes in TCP Segment:
PureAverageRTT
TCP State Transition Diagram Server Client