普段、Webサイトなどを運営しているといった場合に、おおよそアプリケーションを動作させる分には、アプリケーションレイヤーより下の部分については意識しなくても良いこともあるかもしれません。しかしながら、複数のコンポーネントを組み合わせたり、大規模になってきたり、特殊な環境、および複雑な問題に出くわすようになってきたりすると、それらを対処するためには、TCPなどのレイヤーについても、しっかりと理解しておく必要があります(雑に書き殴っているため、後半になるほどまとまりきっていませんが、ご容赦ください)。 以下の項目に分けて概要を説明します。 機能 状態遷移図 データ構造 その他 機能 概要 TCPの機能について、大きく以下の観点で説明していきます。 コネクション管理 シーケンス番号 再送制御 順序制御 ポート番号 ウィンドウ制御 フロー制御 輻輳制御 詳細 コネクション管理 目的: コネクション