TCP examples from chapter