TCP




CS158a

Chris Pollett

Apr. 3, 2023

Outline

End-to-end Protocols

Simple Demultiplexer (UDP)

More on Ports

Quiz

Which of the following is true?

  1. Ethernet multicast addresses have a bigger address space than IPv4 multicast addresses.
  2. IPv6 supports autoconfiguration of local addresses but requires a specialized DHCPv6 server different from the router for global addresses.
  3. MPLS can be used to support transport of IP packets across an ATM network.

Reliable Byte Stream (TCP)

End-to-End Issues

TCP Segment Format

04103116
Source PortDestination Port
SequenceNum
Acknowledgement
HdrLen0FlagsAdvertisedWindow
ChecksumUrgPtr
Options (variable)
Data

More Segment Format

Connection Establishment

More Connection Establishment

Connection Teardown

TCP State Diagram

TCP State Diagram