๋ชฉ์ ์ง ํ๋ก์ธ์ค์ ์๋ง๊ฒ ๋ฐฐ๋ฌํด์ฃผ๋ ์ผ์ด Transport Layer ์ ๊ธฐ๋ณธ์ ์ธ ์ญํ ์ด๋ค.
โ๏ธ multiplexing as sender: ๋ค์์ ์ ๋ ฅ์ ํ๋๋ก ์ถ๋ ฅ
โ๏ธ demultiplexing as receiver: ๋ชฉ์ ์ง ํ๋ก์ธ์ค์ ์๋ง๊ฒ ๋ณด๋ด์ฃผ๋ ๊ฒ
โ๏ธ TCP socket identified by 4-tuple
TCP ์์ผ์ ๊ณ ์ ์ id ๋ฅผ ๊ฐ์ง๋ค. id ์ 4๊ฐ์ง ๊ตฌ์ฑ์์๋ ๋ค์๊ณผ ๊ฐ๋ค.
- source IP address
- source port number
- dest IP address
- dest port number
โ๏ธ demux: receiver uses all four values (4-tuple) to direct segment to appropriate socket
โ๏ธ point-to-point:
โ๏ธ reliable ๐ฏ, in-order byte stream:
โ๏ธ pipelined:
โ๏ธ a send & receive buffers
โ๏ธ full duplex data:
โ๏ธ connection-oriented:
โ๏ธ flow controlled: ๐ฏ
๐ก too many sources sending too much data too fast for network to handle.
๋คํธ์ํฌ ์ํฉ์ ๋ง์ถฐ์, ํผ์ก ์ํฉ์ ๊ณ ๋ คํด์ ๋ณด๋ด๋ ์์ ์กฐ์ ํด์ฃผ๋ ๊ฒ.
๋คํธ์ํฌ ํผ์ก ์ํฉ์ ์ด๋ป๊ฒ ์ ์ ์์๊น?
(์ฐธ๊ณ ! UDP ๋ no congestion control)
๋คํธ์ํฌ ์ํฉ์ด ์ข์ผ๋ฉด MSS๊ฐ ์ฆ๊ฐํ๋ค. ์ ์คํ ๊ฐ๋ฅ์ฑ์ด ์์ผ๋ฉด ์ค์ธ๋ค
์๋ชป๋ ๋ด์ฉ์ด ์๋ค๋ฉด ๋๊ธ๋ก ์๋ ค์ฃผ์๋ฉด ๊ฐ์ฌํ๊ฒ ์ต๋๋ค ๐