TCP/IP model

Model

7. Application Layer (Data)

4. Transport Layer (Segment TCP / Datagram UDP)

3. Network Layer (Package)

2. Data Link Layer (Frame)

1. Physical Layer (Bit)

[Q] TCP/IP vs UDP
 * [A] TCP (Transmission Control Protocol) - Transport layer uses segment (acknowledgement) - Uses for secure data transfer
 * UDP (User Datagram Protocol) - Transport layer uses datagram (no acknowledgement) - Uses for video streaming, online gaming ...