λͺ©μ μ§ νλ‘μΈμ€μ μλ§κ² λ°°λ¬ν΄μ£Όλ μΌμ΄ 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κ° μ¦κ°νλ€. μ μ€ν κ°λ₯μ±μ΄ μμΌλ©΄ μ€μΈλ€
μλͺ»λ λ΄μ©μ΄ μλ€λ©΄ λκΈλ‘ μλ €μ£Όμλ©΄ κ°μ¬νκ² μ΅λλ€ π